Ticket #5212 enhancement new

Opened 3 years ago

Last modified 3 years ago

Extend twistd's --logger to support passing arguments to the observer constructor

Reported by: itamar Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: drednout.by@… Branch:
Author: Launchpad Bug:


twistd's --logger option allows specifying a custom log observer. It would be good if the observer could be customized. Options:

  1. Extend --logger f.q.p.n so that if you append colon, arguments after that are passed to function, similarly to e.g. endpoint string definitions syntax. So --logger f.q.p.n:x=y.
  2. Add --logger-options.

Change History


Changed 3 years ago by drednout

  • cc drednout.by@… added
Note: See TracTickets for help on using tickets.