Awstats的LogFormat配置和nginx的LOGFORMAT


nginx LogFormat:

 

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


Awstats LogFormat:

LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot %otherquot"

标签: nginx, awstats


添加新评论