Skip to content

Commit

Permalink
fix: init path of log file
Browse files Browse the repository at this point in the history
  • Loading branch information
kikkomep committed Nov 9, 2023
1 parent 7daa8b4 commit a899d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lifemonitor/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def configure_logging(app):
'level': logging.INFO,
'class': "logging.handlers.RotatingFileHandler",
'formatter': 'default',
"filename": "/var/log/lm/app.log",
"filename": os.path.join(log_file_path, 'lifemonitor.log'),
"maxBytes": 10485760,
"backupCount": 10,
},
Expand Down

0 comments on commit a899d50

Please sign in to comment.