set_up_tacfile_logging is a little confused
Bug #868770 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
What it actually does is:
writes log messages to a stream, which then reflects them into twisted messages.
However a log message might be multiline in the first place, it would be better to just directly reflect the messages into twisted log messages. Probably best done as a logging->log bridge in upstream twisted.
Related branches
lp:~stevenk/launchpad/kill-set_up_tacfile_logging
On hold
for merging
into
lp:launchpad
- Launchpad code reviewers: Pending requested
-
Diff: 52 lines (+0/-25)2 files modifieddaemons/poppy-sftp.tac (+0/-5)
lib/lp/services/twistedsupport/loggingsupport.py (+0/-20)
To post a comment you must log in.
Note that this has only one user (sftp-poppy), it may be worth just nuking it in favour of lp.services. logger( ), because the SSHService sets up the oops configuration (startService calls set_up_ oops_reporting) .