smartserver main log does nothing
Bug #765604 reported by
Thomi Richards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sloecode |
New
|
Undecided
|
Unassigned |
Bug Description
The bzr smartserver logging code is rather broken: currently everything is logged to the 'access log', and the main log is given a null event handler.
This requires a reasonably good look at how the logging works in the twisted app - it's more complicated than straight python logging since it needs to recieve log messages from the twisted framework. I think a rework is in order. Ideally we'd have:
* A main log that is the default target for all log messages.
* an access log that recieve connection & disconnection messages (what we have now).
* a mechanism to reload the current log file on SIGHUP (this may be automatic already?) - this is required for logrotate to do it's thing.
Changed in sloecode: | |
milestone: | none → 1.2 |
To post a comment you must log in.