holland-coredev team mailing list archive
-
holland-coredev team
-
Mailing list archive
-
Message #00059
[Bug 671967] Re: Handle log file errors more gracefully
** Changed in: holland-backup
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Holland
Discuss, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/671967
Title:
Handle log file errors more gracefully
Status in Holland Backup Framework:
Fix Released
Bug description:
If the log file can't be written (maybe the directory is missing or we
don't have permissions, etc.) holland should handle that gracefully -
either aborting or just continuing on with a log file.
File "/usr/lib/python2.4/site-packages/holland/core/backports/logging/__init__.py", line 749, in __init__
stream = codecs.open(filename, mode, encoding)
File "/usr/lib64/python2.4/codecs.py", line 666, in open
file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/var/log/holland/holland.log'
References