Opened 5 years ago

Last modified 5 years ago

#5212 enhancement new

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 Branch:
Author:

Description

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 5 years ago by drednout

  • Cc drednout added
Note: See TracTickets for help on using tickets.