Welcome! Log In Create A New Profile

Advanced

Re: Problems with custom log file format

Reinis Rozitis
August 23, 2016 01:54PM
> Configuration file included in the post. I already checked it.

You have shown only few excerpts (like there might be other access_log
directives in other parts included config files (easily missed when doing
include path/*.conf) etc).

For example if you can reproduce the issue with such config (I couldn't)
there might be a bug in the software:

events {}
http {
log_format main '$status $remote_addr - $remote_user [$time_local]
"$request" ' '$body_bytes_sent "$http_referer" ' '"$http_user_agent"
"$http_x_forwarded_for"';
access_log logs/access.log main;
server {}
}

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Problems with custom log file format

gariac August 21, 2016 10:04PM

Re: Problems with custom log file format

gariac August 23, 2016 01:10PM

Re: Problems with custom log file format

Maxim Dounin August 23, 2016 01:10PM

Re: Problems with custom log file format

gariac August 23, 2016 01:28PM

Re: Problems with custom log file format

Lucas Rolff August 23, 2016 01:36PM

Re: Problems with custom log file format

Reinis Rozitis August 23, 2016 01:54PM

Re: Problems with custom log file format

gariac August 23, 2016 02:58PM

Re: Problems with custom log file format

Reinis Rozitis August 23, 2016 04:32PM

Re: Problems with custom log file format

Reinis Rozitis August 23, 2016 04:50PM

Re: Problems with custom log file format

gariac August 23, 2016 05:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 275
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready