Simon Naish added the comment:
I am using double backslashes in my path.
But logger\config.py is losing them, please re-read the issue description,
logger\config.py is part of the python libraries!
--
___
Python tracker
<http://bugs.python.
New submission from Simon Naish:
When attempting to use a config file with logging to set up a series of loggers
in a script, when running on windows, if the config file name starts with an
'r' then the script fails with the following error:-
File "C:\Users\simon\Docum
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. which will write debug and above to
Simon Naish added the comment:
Updated TestFileLogger, missed a line out in my rush to get you something,
sorry!
--
Added file: http://bugs.python.org/file32545/TestFileLogger.py
___
Python tracker
<http://bugs.python.org/issue19
Simon Naish added the comment:
And again. Damn!
--
Added file: http://bugs.python.org/file32546/TestFileLogger.py
___
Python tracker
<http://bugs.python.org/issue19
Simon Naish added the comment:
Hi Peter,
Oh well spotted!
Fair enough, but that is seriously not obvious, thanks.
Si
--
___
Python tracker
<http://bugs.python.org/issue19