Re: Logging to syslog

2015-02-19 Thread scaarup
What I am saying is, that there should be a log_format for error_log as well. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256786,256791#msg-256791 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Logging to syslog

2015-02-19 Thread scaarup
Yes rsyslog adds the first timestamp as I have configured it to. But it does not add the second. So is it a feature or bug, that you can configure nginx to send timestamp on acccess_log but not on error_log? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256786,256790#msg-256790 __

Logging to syslog

2015-02-19 Thread scaarup
Hi all. I am logging to syslog with the following configuration: log_format custom '$remote_addr $remote_user ' '"$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent" UPSTREAM: $upstream_addr SSL: $ssl_protocol $ssl_cipher