Add MERGE_LOGS for those not wanting to merge server/portal logs

This commit is contained in:
Griatch 2018-01-20 00:14:04 +01:00
parent 9460614150
commit 4cb3fc7012
2 changed files with 4 additions and 2 deletions

View file

@ -134,6 +134,8 @@ LOG_DIR = os.path.join(GAME_DIR, 'server', 'logs')
SERVER_LOG_FILE = os.path.join(LOG_DIR, 'server.log')
PORTAL_LOG_FILE = os.path.join(LOG_DIR, 'portal.log')
HTTP_LOG_FILE = os.path.join(LOG_DIR, 'http_requests.log')
# if this is true, merge logs into only the SERVER_LOG_FILE location.
MERGE_LOGS = True
# if this is set to the empty string, lockwarnings will be turned off.
LOCKWARNING_LOG_FILE = os.path.join(LOG_DIR, 'lockwarnings.log')
# Rotate log files when server and/or portal stops. This will keep log