Skip to content

Commit

Permalink
fix(#213): fix log config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jumpy-Squirrel committed Dec 22, 2023
1 parent 6c7cffa commit faf41c5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions httpd-container.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ DocumentRoot "/static-html/htdocs"
ErrorLog /dev/stdout
ErrorLogFormat "{ \"@timestamp\":\"%{cu}tZ\", \"log.level\": \"WARN\", \"function\" : \"[%-m:%l]\" , \"process\" : \"[pid %P:tid %T]\" , \"message\" : \"%M\"}"
LogLevel warn
LogFormat "{ \"@timestamp\":\"%{%Y-%m-%dT%T}t.%{usec_frac}t%{%z}t\", \"remoteIP\":\"%a\", \"host\":\"%V\", \"requestPath\":\"%U\", \"query\":\"%q\", \"method\":\"%m\", \"status\":\"%>s\", \"userAgent\":\"%{User-agent}i\", \"referer\":\"%{Referer}i\" }" json
TransferLog /dev/stdout
LogFormat "{ \"@timestamp\":\"%{%Y-%m-%dT%T}t.%{usec_frac}t%{%z}t\", \"log.level\": \"INFO\", \"remoteIP\":\"%a\", \"host\":\"%V\", \"requestPath\":\"%U\", \"query\":\"%q\", \"method\":\"%m\", \"status\":\"%>s\", \"userAgent\":\"%{User-agent}i\", \"referer\":\"%{Referer}i\" }" json
CustomLog /dev/stdout json

<IfModule mime_module>
TypesConfig /etc/apache2/mime.types
Expand Down Expand Up @@ -134,9 +134,6 @@ TransferLog /dev/stdout
SubstituteMaxLineLength 5M
Substitute "s|aN3nNFwFoi5QkyPaVJ54dDTDc6HrrCYGAL6U6GUuyV2uvvekgOxqYe6K2hur|${HTTPD_CONF_PATH_PREFIX_NO_SLASHES}|n"

ErrorLog /dev/stdout
CustomLog /dev/stdout combined
LogLevel warn
ServerSignature Off

ErrorDocument 404 /404.html
Expand Down

0 comments on commit faf41c5

Please sign in to comment.