summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_log_module.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-12-23Access log: the "gzip" parameter of the "access_log" directive.Valentin Bartenev1-5/+213
Note: this requires zlib version 1.2.0.4 or above to work.
2012-12-23Access log: the "flush" parameter of the "access_log" directive.Valentin Bartenev1-23/+97
2012-12-23Reopening log files code moved to a separate function.Valentin Bartenev1-19/+71
The code refactored in a way to call custom handler that can do appropriate cleanup work (if any), like flushing buffers, finishing compress streams, finalizing connections to log daemon, etc..
2012-12-23Access log: fixed redundant buffer reallocation.Valentin Bartenev1-5/+9
Previously a new buffer was allocated for every "access_log" directive with the same file path and "buffer=" parameters, while only one buffer per file is used.
2012-10-29Variables $connection and $connection_requests.Maxim Dounin1-23/+0
Log module counterparts are removed as they aren't used often and there is no need to preserve them for efficiency.
2012-10-03Log: $apache_bytes_sent removed.Maxim Dounin1-8/+0
It was renamed to $body_bytes_sent in nginx 0.3.10 and the old name is deprecated since then.
2012-07-24Fixed compilation with -Wmissing-prototypes.Ruslan Ermilov1-1/+1
2012-06-18New core variable: $status.Andrey Belov1-4/+1
Contains response status code as a 3-digit integer (with leading zeroes if necessary), or one of the following values: 000 - response status code has not yet been assigned 009 - HTTP/0.9 request is being processed
2012-05-16Zero padded the returned and logged HTTP status code, and fixed possibleRuslan Ermilov1-2/+2
buffer overrun in $status handling.
2012-03-15- New variable: $connection_requests.Ruslan Ermilov1-1/+13
- While here, fixed format specifier for $connection.
2012-02-28Fixed spelling in single-line comments.Ruslan Ermilov1-9/+9
2012-02-27Disable symlinks: initialization of the "disable_symlinks" field inValentin Bartenev1-6/+10
ngx_open_file_info_t moved to a separate function. This is preparation for the "from=" parameter implementation of the "disable_symlinks" directive.
2012-02-13Support for disable_symlinks in various modules.Andrey Belov1-2/+8
2012-02-13Time parsing cleanup.Maxim Dounin1-2/+2
Nuke NGX_PARSE_LARGE_TIME, it's not used since 0.6.30. The only error ngx_parse_time() can currently return is NGX_ERROR, check it explicitly and make sure to cast it to appropriate type (either time_t or ngx_msec_t) to avoid signedness warnings on platforms with unsigned time_t (notably QNX).
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-12-06- Improved error message when parsing of the "buffer" parameter of theRuslan Ermilov1-1/+7
"access_log" directive fails. - Added a warning if "log_format" is used in contexts other than "http".
2011-10-11Improved access log escaping to better protect other software.Maxim Dounin1-5/+5
Some character sets (notably ISO-8859-1) have C1 control characters in upper half, make sure to escape them. Reported by Jesus Olmos Gonzalez.
2011-09-19Replaced "can not" with "cannot" and "could not" in a bunch of places.Ruslan Ermilov1-1/+1
Fixed nearby grammar errors.
2011-08-03removal of error message about %name log_format parameters,Igor Sysoev1-19/+0
they have been deleted long ago in 0.5.0-RELEASE
2011-03-16$time_iso8601 log variableIgor Sysoev1-0/+10
patch by Michael Lustfield
2010-05-14ngx_str_set() and ngx_str_null()Igor Sysoev1-4/+2
2010-05-14use ngx_min() and ngx_max()Igor Sysoev1-1/+1
2009-11-29log proxied HTTP/0.9 responses status as "009"Igor Sysoev1-2/+19
2009-11-02optimize some cycles:Igor Sysoev1-3/+5
*) delete surplus variable; *) on i386/amd64 "while (n) / n--" is smaller than "while (n--)", because the platforms have no postfix operations
2009-09-11style fixIgor Sysoev1-1/+1
2009-08-23strict testing "access_log off"Igor Sysoev1-1/+7
2009-06-02return NULL instead of NGX_CONF_ERROR on a create conf failureIgor Sysoev1-5/+5
2009-04-27*) of.test_only to not open file if only stat() is enoughIgor Sysoev1-1/+3
*) of.failed to return exact name of failed syscall
2009-02-24small optimization: " == NGX_ERROR" > " != NGX_OK"Igor Sysoev1-1/+1
2008-10-16NGX_OPEN_FILE_DIRECTIO_OFFIgor Sysoev1-1/+1
2008-09-27*) log_subrequestIgor Sysoev1-12/+33
*) flush variables in access log
2008-09-12disable directio for access_log with variablesIgor Sysoev1-0/+1
2008-09-05remove unused #include'sIgor Sysoev1-1/+0
2008-07-07always test root existence for access_log with variablesIgor Sysoev1-4/+19
2008-07-01NULL script in default access_logIgor Sysoev1-0/+1
2008-06-30fix variable access_log mergingIgor Sysoev1-1/+2
2008-06-30fix error messageIgor Sysoev1-1/+2
2008-06-30variables in access_logIgor Sysoev1-21/+285
2008-06-17*) back out r2040Igor Sysoev1-2/+2
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-05-26fix error log messageIgor Sysoev1-1/+4
2008-05-15escape 0x00-0x1f, ", and \ in access log variablesIgor Sysoev1-2/+71
2007-11-1564-bit time_t compatibilityIgor Sysoev1-1/+2
2007-10-09allow access_log inside limit_exceptIgor Sysoev1-1/+1
2007-07-06add commentIgor Sysoev1-0/+5
2007-04-21$request_time has millisecond precisionIgor Sysoev1-4/+9
2007-04-03use 60 seconds interval but not 61 secondsIgor Sysoev1-2/+2
2007-01-24fix "access_log off"Igor Sysoev1-35/+27
2007-01-21log a failure of the writing to access_log once per minuteIgor Sysoev1-15/+56
2006-12-12fix highly unlikely bugIgor Sysoev1-0/+2
2006-11-27axe old % log formatIgor Sysoev1-582/+44