error.log debug mode please help

Maxim Dounin mdounin at mdounin.ru
Fri Aug 7 03:38:32 MSD 2009


Hello!

On Thu, Aug 06, 2009 at 07:17:51PM -0400, saiyan wrote:

> Hello, i want to know why there is 
> 2009/08/07 00:16:31  11719#0: *5 "\.php$" does not match "/usr/local/nginx/html/"
> 2009/08/07 00:16:34  11719#0: *1 "^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$" does not match "/fashion-outlet/"
> 2009/08/07 00:16:34  11719#0: *1 "\.php$" does not match "/usr/local/nginx/html/fashion-outlet/",
> 2009/08/07 00:16:34  11719#0: *1 "^/(.*)$" matches "/fashion-outlet/"
> 2009/08/07 00:16:34  11719#0: *1 rewritten data: "/vbseo.php", args: ""
> 
> notice like this in my error.log

It's due to rewrite_log turned on.

> and what the purpose of --with-debug ?

If you need debug log - you have to compile nginx configured with 
argument --with-debug.  It enables some additional logging which 
normally isn't compiled in to save CPU.  Without this using 
"error_log ... debug;" doesn't make sense.

Maxim Dounin





More information about the nginx mailing list