Merge "Make TLS logs more readable"

This commit is contained in:
Jenkins 2017-08-10 15:17:29 +00:00 committed by Gerrit Code Review
commit 69c78404ee

View File

@ -533,10 +533,9 @@ $listen_string
ProxyPassReverse http://$b_host:$b_port/ ProxyPassReverse http://$b_host:$b_port/
</Location> </Location>
ErrorLog $APACHE_LOG_DIR/tls-proxy_error.log ErrorLog $APACHE_LOG_DIR/tls-proxy_error.log
ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] [frontend\ %A] %M% ,\ referer\ %{Referer}i" ErrorLogFormat "%{cu}t [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] [frontend\ %A] %M% ,\ referer\ %{Referer}i"
LogLevel info LogLevel info
CustomLog $APACHE_LOG_DIR/tls-proxy_access.log common CustomLog $APACHE_LOG_DIR/tls-proxy_access.log "%{%Y-%m-%d}t %{%T}t.%{msec_frac}t [%l] %a \"%r\" %>s %b"
LogFormat "%v %h %l %u %t \"%r\" %>s %b"
</VirtualHost> </VirtualHost>
EOF EOF
if is_suse ; then if is_suse ; then