According to John J. Lee <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] (Steve Greenland) writes:
> > import logging, logging.handlers
> > logging.basicConfig(level=logging.WARNING)
> >
> > newlog = logging.handlers.TimedRotatingFileHandler(
> > filename='/home/steveg/logtest.log',
>
[EMAIL PROTECTED] (Steve Greenland) writes:
> Apparently I don't understand logging levels. The code:
>
> import logging, logging.handlers
>
>
> logging.basicConfig(level=logging.WARNING)
>
> newlog = logging.handlers.TimedRotatingFileHandler(
> filename='/home/steveg/logtest.l
Apparently I don't understand logging levels. The code:
import logging, logging.handlers
logging.basicConfig(level=logging.WARNING)
newlog = logging.handlers.TimedRotatingFileHandler(
filename='/home/steveg/logtest.log',
when="midnight")
newlog.setLevel(logging.I