Some small log format change.
This commit is contained in:
parent
f4e3b9c01b
commit
1e86dcbfd8
1 changed files with 2 additions and 1 deletions
|
|
@ -99,7 +99,8 @@ def main():
|
|||
if not os.path.exists(os.path.dirname(log_file)):
|
||||
os.makedirs(os.path.dirname(log_file))
|
||||
|
||||
log_file_formatter = logging.Formatter('%(asctime)s:%(levelname)s:%(name)s:%(message)s')
|
||||
log_file_formatter = \
|
||||
logging.Formatter('[%(asctime)s]:[%(levelname)s]:[%(name)s]:%(message)s')
|
||||
log_file_handler = logging.handlers.RotatingFileHandler(log_file,
|
||||
maxBytes=int(
|
||||
configuration.get_option(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue