Combining log files does not actually work, removing functionality

This commit is contained in:
Griatch 2018-01-26 22:12:57 +01:00
parent 1befcb1699
commit 6e5f9e8d2e
4 changed files with 35 additions and 19 deletions

View file

@ -184,8 +184,8 @@ class Portal(object):
application = service.Application('Portal')
# custom logging
logfile = settings.SERVER_LOG_FILE if settings.MERGE_LOGS else settings.PORTAL_LOG_FILE
logfile = logger.WeeklyLogFile(os.path.basename(logfile), os.path.dirname(logfile))
logfile = logger.WeeklyLogFile(os.path.basename(settings.PORTAL_LOG_FILE),
os.path.dirname(settings.PORTAL_LOG_FILE))
application.setComponent(ILogObserver, logger.PortalLogObserver(logfile).emit)
# The main Portal server program. This sets up the database