mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix of server/portal log upstart condition
This commit is contained in:
parent
42ee0db1da
commit
2e94e1b67d
2 changed files with 2 additions and 2 deletions
|
|
@ -247,7 +247,7 @@ application = service.Application("Portal")
|
|||
|
||||
|
||||
if ("--nodaemon" not in sys.argv
|
||||
and not hasattr(settings, "_TEST_ENVIRONMENT") and settings._TEST_ENVIRONMENT):
|
||||
and not (hasattr(settings, "_TEST_ENVIRONMENT") and settings._TEST_ENVIRONMENT)):
|
||||
# custom logging
|
||||
logfile = logger.WeeklyLogFile(
|
||||
os.path.basename(settings.PORTAL_LOG_FILE),
|
||||
|
|
|
|||
|
|
@ -648,7 +648,7 @@ except OperationalError:
|
|||
application = service.Application("Evennia")
|
||||
|
||||
if ("--nodaemon" not in sys.argv
|
||||
and not hasattr(settings, "_TEST_ENVIRONMENT") and settings._TEST_ENVIRONMENT):
|
||||
and not (hasattr(settings, "_TEST_ENVIRONMENT") and settings._TEST_ENVIRONMENT)):
|
||||
# custom logging, but only if we are not running in interactive mode
|
||||
logfile = logger.WeeklyLogFile(
|
||||
os.path.basename(settings.SERVER_LOG_FILE),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue