diff options
author | Soren Hansen <soren@linux2go.dk> | 2011-02-14 23:27:31 +0100 |
---|---|---|
committer | Soren Hansen <soren@linux2go.dk> | 2011-02-14 23:27:31 +0100 |
commit | 2816ca39281bf7c1994791d969bc63d22c86f911 (patch) | |
tree | 2d37b12ae0af1d5ea36e0be750f11e9c1a419472 | |
parent | 799f5222e5eea2825f1e05a66e44eb4df709234e (diff) | |
download | nova-2816ca39281bf7c1994791d969bc63d22c86f911.tar.gz nova-2816ca39281bf7c1994791d969bc63d22c86f911.tar.xz nova-2816ca39281bf7c1994791d969bc63d22c86f911.zip |
Use RotatingFileHandler instead of FileHandler.
-rw-r--r-- | nova/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/log.py b/nova/log.py index b541488bd..413dd946b 100644 --- a/nova/log.py +++ b/nova/log.py @@ -92,7 +92,7 @@ critical = logging.critical log = logging.log # handlers StreamHandler = logging.StreamHandler -FileHandler = logging.FileHandler +FileHandler = logging.RotatingFileHandler # logging.SysLogHandler is nicer than logging.logging.handler.SysLogHandler. SysLogHandler = logging.handlers.SysLogHandler |