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.
2 parents 412aadd + fcc8bb7 commit a4373d1Copy full SHA for a4373d1
mongodb_consistent_backup/Logger.py
@@ -35,6 +35,8 @@ def start(self):
35
def start_file_logger(self):
36
if self.do_file_log:
37
try:
38
+ if os.path.isdir(self.config.log_dir):
39
+ os.mkdir(self.config.log_dir)
40
self.current_log_file = os.path.join(self.config.log_dir, "backup.%s.log" % self.backup_name)
41
self.backup_log_file = os.path.join(self.config.log_dir, "backup.%s.%s.log" % (self.backup_name, self.backup_time))
42
self.file_log = logging.FileHandler(self.backup_log_file)
0 commit comments