'$remote_addr $upstream_response_time $upstream_cache_status [$time_local] '
'$http_host "$request" $status $body_bytes_sent $request_time '
'"$http_referer" "$http_user_agent"'
time-format %T
date-format %d/%b/%Y
log_format %h %^ %^ [%d:%t %^] %v "%r" %s %b %T "%R" "%u"
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
open_log_file_cache max=1000 inactive=30s valid=1m;
log_format we_log '$remote_addr $upstream_response_time $upstream_cache_status [$time_local] '
'$http_host "$request" $status $body_bytes_sent $request_time '
'"$http_referer" "$http_user_agent"';
access_log /var/log/nginx/site.com.access.log we_log;
error_log /var/log/nginx/site.com.error.log;
Parsed 10 lines producing the following errors:
Token 'ET' doesn't match specifier '%s'
Token 'OST' doesn't match specifier '%s'
Token 'OST' doesn't match specifier '%s'
Token 'ET' doesn't match specifier '%s'
Token 'ET' doesn't match specifier '%s'
Token 'OST' doesn't match specifier '%s'
Token 'OST' doesn't match specifier '%s'
Token 'STP_DUPLEX_POST' doesn't match specifier '%s'
Token 'OST' doesn't match specifier '%s'
Token 'ET' doesn't match specifier '%s'
Format Errors - Verify your log/date/time format