Browse code

Merge "Make TLS logs more readable"

Jenkins authored on 2017/08/11 00:17:29
Showing 1 changed files
... ...
@@ -533,10 +533,9 @@ $listen_string
533 533
         ProxyPassReverse http://$b_host:$b_port/
534 534
     </Location>
535 535
     ErrorLog $APACHE_LOG_DIR/tls-proxy_error.log
536
-    ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] [frontend\ %A] %M% ,\ referer\ %{Referer}i"
536
+    ErrorLogFormat "%{cu}t [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] [frontend\ %A] %M% ,\ referer\ %{Referer}i"
537 537
     LogLevel info
538
-    CustomLog $APACHE_LOG_DIR/tls-proxy_access.log common
539
-    LogFormat "%v %h %l %u %t \"%r\" %>s %b"
538
+    CustomLog $APACHE_LOG_DIR/tls-proxy_access.log "%{%Y-%m-%d}t %{%T}t.%{msec_frac}t [%l] %a \"%r\" %>s %b"
540 539
 </VirtualHost>
541 540
 EOF
542 541
     if is_suse ; then