Merge 856c01fde6 into 0eb28ac3d8
This commit is contained in:
commit
7acf946edf
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class TunedLogger(logging.getLoggerClass()):
|
|||
if log_directory == '':
|
||||
log_directory = '.'
|
||||
if not os.path.exists(log_directory):
|
||||
os.makedirs(log_directory)
|
||||
os.makedirs(log_directory, 0o750)
|
||||
|
||||
cls._file_handler = logging.handlers.RotatingFileHandler(
|
||||
filename, maxBytes = int(maxBytes), backupCount = int(backupCount))
|
||||
|
|
|
|||
Loading…
Reference in a new issue