Add log-tailing to launcher options
This commit is contained in:
parent
4769599cf9
commit
a2d63c9582
4 changed files with 125 additions and 8 deletions
|
|
@ -534,8 +534,8 @@ ServerConfig.objects.conf("server_starting_mode", True)
|
|||
application = service.Application('Evennia')
|
||||
|
||||
# custom logging
|
||||
logfile = logger.WeeklyLogFile(os.path.basename(settings.PORTAL_LOG_FILE),
|
||||
os.path.dirname(settings.PORTAL_LOG_FILE))
|
||||
logfile = logger.WeeklyLogFile(os.path.basename(settings.SERVER_LOG_FILE),
|
||||
os.path.dirname(settings.SERVER_LOG_FILE))
|
||||
application.setComponent(ILogObserver, logger.ServerLogObserver(logfile).emit)
|
||||
|
||||
# The main evennia server program. This sets up the database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue