This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author 51m0n
Recipients 51m0n, eric.smith
Date 2013-11-08.15:33:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383924798.23.0.963966988806.issue19528@psf.upfronthosting.co.za>
In-reply-to
Content
Example proggie.

It writes its own config file (really_cool_logging.conf), then attempts to read it, all to ~/testlog

If you inherit from the class FileLogger with any other class you get instant access to self.log.<any logger command> which will write debug and above to ~/testlog/really_cool_logging.log, and info and above to the console. 

Which is really handy when you have a lot of command scripts that you want to log to one place.
History
Date User Action Args
2013-11-08 15:33:1851m0nsetrecipients: + 51m0n, eric.smith
2013-11-08 15:33:1851m0nsetmessageid: <1383924798.23.0.963966988806.issue19528@psf.upfronthosting.co.za>
2013-11-08 15:33:1851m0nlinkissue19528 messages
2013-11-08 15:33:1851m0ncreate