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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue