← Back to team overview

holland-coredev team mailing list archive

[Bug 671967] [NEW] Handle log file errors more gracefully

 

Public bug reported:

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'

** Affects: holland-backup
     Importance: Undecided
         Status: New

-- 
Handle log file errors more gracefully
https://bugs.launchpad.net/bugs/671967
You received this bug notification because you are a member of Holland
Developers, which is the registrant for holland-backup.

Status in Holland Backup Framework: New

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'





Follow ups

References