Skip to content

Commit 14914b6

Browse files
authored
Merge pull request #43 from NYU-RTS/minor
minor logfile naming cleanup
2 parents a4b9bc1 + d9dd6c6 commit 14914b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coldfront/config/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,4 @@
158158

159159
# Logfile location
160160
COLDFRONT_DJANGO_LOG_FILE = ENV.str("COLDFRONT_DJANGO_LOG_FILE",
161-
default="coldfront-django.log")
161+
default="coldfront-django")

coldfront/config/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
HOSTNAME = socket.gethostname()
1212
except Exception:
1313
HOSTNAME = "-"
14-
LOG_FILE = f"{LOG_FILE_BASE}.{HOSTNAME}"
14+
LOG_FILE = f"{LOG_FILE_BASE}.{HOSTNAME}.log"
1515

1616
MESSAGE_TAGS = {
1717
messages.DEBUG: "info",

0 commit comments

Comments
 (0)