Re: logging module: log file with datetime

2007-06-01 Thread Vinay Sajip
On 1 Jun, 13:00, Álvaro Nieto <[EMAIL PROTECTED]> wrote: > How could I define a log file with datetime in his name?. Now the > name > for log file is './Logs/cdmto.log' and I'd like it would be './ > Logs/cdmto_20070601.log', > for example. > You can't do this just in the configuration

logging module: log file with datetime

2007-06-01 Thread Álvaro Nieto
Hi I have this logging config file; [loggers] keys=cdmto [handlers] keys=cdmtoHandler [formatters] keys=mtoFormatter [logger_cdmto] level=DEBUG handlers=cdmtoHandler qualname=cdmto propagate=0 [handler_cdmtoHandler] cla