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
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
__
On Thu, Feb 19, 2015 at 04:49:28AM -0500, scaarup wrote:
> Hi all.
> I am logging to syslog with the following configuration:
> log_format custom '$remote_addr $remote_user '
> '"$request" $status $body_bytes_sent '
Hi,
have you checked that it's not your logserver ho adds a timestamp itself?
I'm not sure, but afair rsyslog adds own timestamps and you have to use a
template to get rid of them.
Regards, Axel
Am Donnerstag, 19. Februar 2015, 04:49:28 schrieb scaarup:
> Hi all.
> I am l
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"