[Commotion-admin] [commotion-client] Have logger create new logfiles if they dont exist (#13)
Seamus Tuohy
notifications at github.com
Wed Feb 5 17:39:55 UTC 2014
To address this style of error
Traceback (most recent call last):
File "commotion_client.py", line 227, in <module>
main()
File "commotion_client.py", line 73, in main
log = logger.set_logging("commotion_client", logLevel, logFile)
File "/home/me/projects/commotion/commotion-client/commotion_client/utils/logger.py", line 36, in set_logging
fh = logging.FileHandler(logfile)
File "/usr/local/lib/python3.3/logging/__init__.py", line 967, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/local/lib/python3.3/logging/__init__.py", line 989, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/home/me/projects/commotion/commotion-client/commotion_client/temp/logfile.temp'
commotion-client/commotion_client/utils/logger.py
---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotion-client/issues/13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140205/6e59a573/attachment.html>
More information about the Commotion-admin
mailing list