summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax R <[email protected]>2024-01-02 20:04:14 -0800
committerGitHub <[email protected]>2024-01-02 23:04:14 -0500
commit549bebcc43102efaace1920bef92cc59032e2e7d (patch)
tree1acec327230b3cf2993c3cb86341811ae94ca9f0
parent902d1e62b8251c36a622f96bc40d6ef9f052997e (diff)
downloadbazarr-549bebcc43102efaace1920bef92cc59032e2e7d.tar.gz
bazarr-549bebcc43102efaace1920bef92cc59032e2e7d.zip
Updated logging to use ISO 8601 date formatv1.4.1-beta.12
-rw-r--r--bazarr/app/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/app/logger.py b/bazarr/app/logger.py
index b2a3eeffd..c9a1282bb 100644
--- a/bazarr/app/logger.py
+++ b/bazarr/app/logger.py
@@ -118,7 +118,7 @@ def configure_logging(debug=False):
fh = TimedRotatingFileHandler(os.path.join(args.config_dir, 'log/bazarr.log'), when="midnight", interval=1,
backupCount=7, delay=True, encoding='utf-8')
f = FileHandlerFormatter('%(asctime)s|%(levelname)-8s|%(name)-32s|%(message)s|',
- '%d/%m/%Y %H:%M:%S')
+ '%Y-%m-%d %H:%M:%S')
fh.setFormatter(f)
fh.setLevel(log_level)
logger.addHandler(fh)