Opened 7 years ago

Last modified 7 years ago

#5212 enhancement new

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

Reported by: Itamar Turner-Trauring Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Alexei Romanoff Branch:


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 (1)

comment:1 Changed 7 years ago by Alexei Romanoff

Cc: Alexei Romanoff added
Note: See TracTickets for help on using tickets.