Merge pull request #293 from scottstanie/patch-1

logging.conf: avoid empty file creation
LT1AB
Ryan Burns 2021-05-26 18:11:45 -07:00 committed by GitHub
commit 063a349096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ propagate=0
[handler_fileHandler]
class=handlers.RotatingFileHandler
formatter=simpleFormatter
# Filename, file mode, maximum file size in bytes,number of backups to keep
args=('isce.log','a',1000048576,5)
# Filename, file mode, maximum file size in bytes,number of backups to keep, encoding, delay creation
args=('isce.log','a',1000048576,5,None,True)
[handler_consoleHandler]
class=StreamHandler