Hi,

I'm using Python's logger for logging but it doesn't seem to roll over, my file 
is now 2.2MB and should've rolled over after ever 1MB.
My code:
logger = logging.getLogger("")
        logger.setLevel(logging.DEBUG)
        handler = logging.handlers.RotatingFileHandler(
                LOGFILE, maxBytes=(1048576*10), backupCount=5
        )

What am I doing wrong here, I don't get it.
Thank you!
Ron
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to