Simon Naish added the comment: 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. ---------- resolution: -> invalid status: open -> closed Added file: http://bugs.python.org/file32543/TestFileLogger.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19528> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com