File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11from django .contrib .messages import constants as messages
22from coldfront .core .utils .common import import_from_settings
3+ import socket
34
45# ------------------------------------------------------------------------------
56# ColdFront logging config
67# ------------------------------------------------------------------------------
78
89LOG_FILE = import_from_settings ("COLDFRONT_DJANGO_LOG_FILE" )
10+ HOSTNAME = socket .gethostname ()
911
1012MESSAGE_TAGS = {
1113 messages .DEBUG : "info" ,
2123 "root" : {"level" : "INFO" , "handlers" : ["file" ]},
2224 "formatters" : {
2325 "standard" : {
24- "format" : "{levelname} {asctime} {module } {process:d } {thread :d} {message}" ,
26+ "format" : "{levelname} {asctime} {HOSTNAME } {module } {process :d} {message}" ,
2527 "style" : "{" ,
2628 },
2729 },
You can’t perform that action at this time.
0 commit comments