Skip to content

Commit

Permalink
Add : after msec in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikek committed Nov 23, 2023
1 parent 80518fe commit bf8b3dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ESSArch_Core/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,10 @@
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format': '[%(asctime)s %(levelname)s] %(message)s'
'format': '[%(asctime)s: %(levelname)s] %(message)s'
},
'verbose_process': {
'format': '[%(asctime)s %(levelname)s %(module)s %(process)d %(thread)d] %(message)s'
'format': '[%(asctime)s: %(levelname)s %(module)s %(process)d %(thread)d] %(message)s'
},
'django.server': {
'()': 'django.utils.log.ServerFormatter',
Expand Down
2 changes: 1 addition & 1 deletion docker/templates/config/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Group arch
#LoadModule auth_digest_module /usr/lib/apache2/modules/mod_auth_digest.so

LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "[%{%Y-%m-%d %T}t,%{msec_frac}t %{X-Forwarded-For}i %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x %b] %r" common_ess
LogFormat "[%{%Y-%m-%d %T}t,%{msec_frac}t: %{X-Forwarded-For}i %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x %b] %r" common_ess
CustomLog ${ESSARCH_DIR}/log/httpd_access.log common_ess

ErrorLog ${ESSARCH_DIR}/log/httpd_error.log
Expand Down

0 comments on commit bf8b3dd

Please sign in to comment.