Merge "Logging: Direct transfer and custom logs for apache to stdout"

This commit is contained in:
Jenkins 2017-10-12 19:55:29 +00:00 committed by Gerrit Code Review
commit a19dba192a
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,8 @@ CustomLog /dev/stdout proxy env=forwarded
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
ErrorLog /dev/stderr
ErrorLog /dev/stdout
TransferLog /dev/stdout
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded
CustomLog /dev/stdout combined env=!forwarded

View File

@ -33,7 +33,7 @@ CustomLog /dev/stdout proxy env=forwarded
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
ErrorLog /dev/stderr
ErrorLog /dev/stdout
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded
CustomLog /dev/stdout combined env=!forwarded