Combining log files does not actually work, removing functionality
This commit is contained in:
parent
1befcb1699
commit
6e5f9e8d2e
4 changed files with 35 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue