We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 455e621 commit 9e27e4cCopy full SHA for 9e27e4c
mongodb_consistent_backup/Logger.py
@@ -18,6 +18,7 @@ def __init__(self, config, backup_time):
18
if self.config.log_dir is not '':
19
self.do_file_log = True
20
if not os.path.isdir(self.config.log_dir):
21
+ print "WARNING: Creating logging directory: %s" % self.config.log_dir
22
os.mkdir(self.config.log_dir)
23
24
self.log_format = '[%(asctime)s] [%(levelname)s] [%(processName)s] [%(module)s:%(funcName)s:%(lineno)d] %(message)s'
0 commit comments