Bug 3816

Summary: [Enhancement] Nginx default log version does not work with awstats
Product: Mageia Reporter: Sam Bailey <cyprix>
Component: RPM PackagesAssignee: Rémy CLOUARD (shikamaru) <shikamaru>
Status: RESOLVED OLD QA Contact:
Severity: enhancement    
Priority: Normal CC: rwobben, thierry.vignaud
Version: CauldronKeywords: NEEDINFO, Triaged
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: nginx CVE:
Status comment:

Description Sam Bailey 2011-12-19 11:11:00 CET
To allow Nginx to log in the apache format that awstats (and others) likes, I suggest changing the default log format as below. 

log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent"';

The normal log format could be commented out to be available if someone wishes to use that instead.
Comment 1 Manuel Hiebel 2011-12-19 11:48:13 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => shikamaru
Source RPM: (none) => nginx

Thierry Vignaud 2011-12-19 17:45:17 CET

CC: (none) => thierry.vignaud

Comment 2 Marja Van Waes 2012-05-26 13:10:25 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 3 roelof Wobben 2013-01-09 13:44:30 CET
Close this as old because there is no respons in half a year.
When someone wants to reopen it please provide details as the version of
mageia
 
Roelof

Status: NEW => RESOLVED
CC: (none) => r.wobben
Resolution: (none) => OLD