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 given by the user at the command line.

Any suggestions?

See http://stackoverflow.com/questions/18244050/

Jean-Paul

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to