Re: Logging within a class

2013-02-11 Thread Jean-Michel Pichavant
- Original Message - > Within __init__ I setup a log with self.log = > logging.getLogger('foo') then add a > console and filehandler which requires the formatting to be > specified. There a few > methods I setup a local log object by calling getChild against the > global log object. > > >

Logging within a class

2013-02-10 Thread Joseph L. Casale
Within __init__ I setup a log with self.log = logging.getLogger('foo') then add a console and filehandler which requires the formatting to be specified. There a few methods I setup a local log object by calling getChild against the global log object. This works fine until I need to adjust the