Re: [Twisted-Python] How to get ServerOptions in tac file.

2013-11-24 Thread Jonas Brunsgaard
On Sun, Nov 24, 2013 at 9:43 PM, wrote: > On 07:35 pm, jonas.brunsga...@gmail.com wrote: > >> Is there an easy way get an options object from the .tac file? >> >> I my .tac file i have the following. >> >> fh = logging.FileHandler('/var/log/ocmg/datastore.log') >> >> I would like to be able et r

Re: [Twisted-Python] How to get ServerOptions in tac file.

2013-11-24 Thread exarkun
On 07:35 pm, jonas.brunsga...@gmail.com wrote: Is there an easy way get an options object from the .tac file? I my .tac file i have the following. fh = logging.FileHandler('/var/log/ocmg/datastore.log') I would like to be able et replace '/var/log/ocmg/datastore.log' with the logfile option

[Twisted-Python] How to get ServerOptions in tac file.

2013-11-24 Thread Jonas Brunsgaard
Is there an easy way get an options object from the .tac file? I my .tac file i have the following. fh = logging.FileHandler('/var/log/ocmg/datastore.log') I would like to be able et replace '/var/log/ocmg/datastore.log' with the logfile option given by the user at the command line. Any sugges