Message99212
I encountered this when somebody used:
logging.basicConfig(level=logging.CRITICAL,
format='%(asctime)s %(levelname)-8s %(message)s',
datefmt='%a, %d %b %Y %H:%M:%S',
filename=os.devnull,
filemode='w')
the logging code apparently calls os.path.abspath(filename) somewhere,
causing an exception:
File "c:\python264\lib\logging\__init__.py", line 838, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '\\\\nul' |
|
Date |
User |
Action |
Args |
2010-02-11 15:09:45 | abakker | set | recipients:
+ abakker |
2010-02-11 15:09:44 | abakker | set | messageid: <1265900984.97.0.533817039299.issue7909@psf.upfronthosting.co.za> |
2010-02-11 15:09:43 | abakker | link | issue7909 messages |
2010-02-11 15:09:43 | abakker | create | |
|