diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-12-02 11:50:40 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-12-02 11:50:40 +0300 |
commit | cccba5da29000cbba8e9f927ba01b978b735eeaa (patch) | |
tree | fe10c268544345dbf9b3b2c865a4e274b2cb276a /config.py | |
parent | 9a6875d71cdb6d94222f8c4861017203cb0ba703 (diff) |
Better logging, instance handling
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -6,8 +6,8 @@ USERS_DIRECTORY = "/home/alice/users" TOKENS_DIRECTORY = "/home/alice/tokens" DEVICES_DIRECTORY = "/home/alice/devices" -# Uncomment to enable logging -#LOG_FILE = "/var/log/alice.log" -#LOG_LEVEL = logging.DEBUG -#LOG_FORMAT = "%(asctime)s %(remote_addr)s %(user)s %(message)s" -#LOG_DATE_FORMAT = "%Y-%m-%d %H:%M:%S" +# Uncomment to tune logging +# LOG_FILE = "/var/log/alice.log" +# LOG_LEVEL = logging.DEBUG +# LOG_FORMAT = "[%(asctime)s] [%(levelname)s] [%(remote_addr)s] [%(user)s]: %(message)s" +# LOG_DATE_FORMAT = "%Y-%m-%d %H:%M:%S" |