JSON errors and image not loading

This commit is contained in:
Ruud committed 2012-02-16 00:01:43 +01:00
1 parent 0fe18b0109
commit af92355e2f
7 files changed
+24 -20

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ class Loader(object):
self.log = CPLog(__name__)
formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s', '%H:%M:%S')
hdlr = handlers.RotatingFileHandler(os.path.join(self.data_dir, 'logs', 'error.log'), 'a', 500000, 10)
hdlr = handlers.RotatingFileHandler(os.path.join(self.data_dir, 'error.log'), 'a', 500000, 10)
hdlr.setLevel(logging.CRITICAL)
hdlr.setFormatter(formatter)
self.log.logger.addHandler(hdlr)