| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2017-03-07 | Access log: removed dead ev->timedout check in flush timer handler. | Maxim Dounin | 1 | -14/+1 | |
| The ev->timedout flag is set on first timer expiration, and never reset after it. Due to this the code to stop the timer when the timer was canceled never worked (except in a very specific time frame immediately after start), and the timer was always armed again. This essentially resulted in a buffer flush at the end of an event loop iteration. This behaviour actually seems to be better than just stopping the flush timer for the whole shutdown, so it is preserved as is instead of fixing the code to actually remove the timer. It will be further improved by upcoming changes to preserve cancelable timers if there are other timers blocking shutdown. | |||||
| 2016-12-15 | Access log: support for json escaping. | Valentin Bartenev | 1 | -6/+77 | |
| 2016-07-07 | Avoid left-shifting integers into the sign bit, which is undefined. | Sergey Kandaurov | 1 | -2/+2 | |
| Found with UndefinedBehaviorSanitizer. | |||||
| 2014-12-01 | Access log: restricted "log_format" to "http" level. | Sergey Kandaurov | 1 | -7/+1 | |
| Specifying the "log_format" directive on levels other than "http" is deprecated since 73d37e1ccb91 (1.1.11). | |||||
| 2014-08-25 | Access log: cancel the flush timer on graceful shutdown. | Valentin Bartenev | 1 | -1/+15 | |
| Previously, it could prevent a worker process from exiting for up to the configured flush timeout. | |||||
| 2014-09-13 | Access log: fixed the "if=" parameter with buffering (ticket #625). | Valentin Bartenev | 1 | -21/+20 | |
| It might not work if there were more than one "access_log" directives pointed to the same file and duplicate buffer parameters. | |||||
| 2014-08-06 | Access log: allowed logs to syslog with "if=" (ticket #596). | Maxim Dounin | 1 | -11/+6 | |
| 2014-06-03 | Access log: fix default value, broken by cb308813b453. | Piotr Sikora | 1 | -5/+2 | |
| log->filter ("if" parameter) was uninitialized when the default value was being used, which would lead to a crash (SIGSEGV) when access_log directive wasn't specified in the configuration. Zero-fill the whole structure instead of zeroing fields one-by-one in order to prevent similar issues in the future. Signed-off-by: Piotr Sikora <piotr@cloudflare.com> | |||||
| 2014-05-12 | Added syslog support for error_log and access_log directives. | Vladimir Homutov | 1 | -1/+70 | |
| 2014-04-15 | Access log: the "if" parameter of the "access_log" directive. | Sergey Kandaurov | 1 | -10/+47 | |
| The parameter value specifies a condition under which the request is logged. | |||||
| 2013-09-04 | Win32: $request_time fixed. | Maxim Dounin | 1 | -1/+1 | |
| On win32, time_t is 64 bits wide by default, and passing an ngx_msec_int_t argument for %T format specifier doesn't work. This doesn't manifest itself on other platforms as time_t and ngx_msec_int_t are usually of the same size. | |||||
| 2013-08-20 | Backed out f1a91825730a and 7094bd12c1ff. | Maxim Dounin | 1 | -3/+1 | |
| While ngx_get_full_name() might have a bit more descriptive arguments, the ngx_conf_full_name() is generally easier to use when parsing configuration and limits exposure of cycle->prefix / cycle->conf_prefix details. | |||||
| 2013-08-06 | Replaced ngx_conf_full_name() with ngx_get_full_name(). | Valentin Bartenev | 1 | -1/+3 | |
| The ngx_get_full_name() function takes more readable arguments list. | |||||
| 2012-12-23 | Access log: the "gzip" parameter of the "access_log" directive. | Valentin Bartenev | 1 | -5/+213 | |
| Note: this requires zlib version 1.2.0.4 or above to work. | |||||
| 2012-12-23 | Access log: the "flush" parameter of the "access_log" directive. | Valentin Bartenev | 1 | -23/+97 | |
| 2012-12-23 | Reopening log files code moved to a separate function. | Valentin Bartenev | 1 | -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-23 | Access log: fixed redundant buffer reallocation. | Valentin Bartenev | 1 | -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-29 | Variables $connection and $connection_requests. | Maxim Dounin | 1 | -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-03 | Log: $apache_bytes_sent removed. | Maxim Dounin | 1 | -8/+0 | |
| It was renamed to $body_bytes_sent in nginx 0.3.10 and the old name is deprecated since then. | |||||
| 2012-07-24 | Fixed compilation with -Wmissing-prototypes. | Ruslan Ermilov | 1 | -1/+1 | |
| 2012-06-18 | New core variable: $status. | Andrey Belov | 1 | -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-16 | Zero padded the returned and logged HTTP status code, and fixed possible | Ruslan Ermilov | 1 | -2/+2 | |
| buffer overrun in $status handling. | |||||
| 2012-03-15 | - New variable: $connection_requests. | Ruslan Ermilov | 1 | -1/+13 | |
| - While here, fixed format specifier for $connection. | |||||
| 2012-02-28 | Fixed spelling in single-line comments. | Ruslan Ermilov | 1 | -9/+9 | |
| 2012-02-27 | Disable symlinks: initialization of the "disable_symlinks" field in | Valentin Bartenev | 1 | -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-13 | Support for disable_symlinks in various modules. | Andrey Belov | 1 | -2/+8 | |
| 2012-02-13 | Time parsing cleanup. | Maxim Dounin | 1 | -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-18 | Copyright updated. | Maxim Konovalov | 1 | -0/+1 | |
| 2011-12-06 | - Improved error message when parsing of the "buffer" parameter of the | Ruslan Ermilov | 1 | -1/+7 | |
| "access_log" directive fails. - Added a warning if "log_format" is used in contexts other than "http". | |||||
| 2011-10-11 | Improved access log escaping to better protect other software. | Maxim Dounin | 1 | -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-19 | Replaced "can not" with "cannot" and "could not" in a bunch of places. | Ruslan Ermilov | 1 | -1/+1 | |
| Fixed nearby grammar errors. | |||||
| 2011-08-03 | removal of error message about %name log_format parameters, | Igor Sysoev | 1 | -19/+0 | |
| they have been deleted long ago in 0.5.0-RELEASE | |||||
| 2011-03-16 | $time_iso8601 log variable | Igor Sysoev | 1 | -0/+10 | |
| patch by Michael Lustfield | |||||
| 2010-05-14 | ngx_str_set() and ngx_str_null() | Igor Sysoev | 1 | -4/+2 | |
| 2010-05-14 | use ngx_min() and ngx_max() | Igor Sysoev | 1 | -1/+1 | |
| 2009-11-29 | log proxied HTTP/0.9 responses status as "009" | Igor Sysoev | 1 | -2/+19 | |
| 2009-11-02 | optimize some cycles: | Igor Sysoev | 1 | -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-11 | style fix | Igor Sysoev | 1 | -1/+1 | |
| 2009-08-23 | strict testing "access_log off" | Igor Sysoev | 1 | -1/+7 | |
| 2009-06-02 | return NULL instead of NGX_CONF_ERROR on a create conf failure | Igor Sysoev | 1 | -5/+5 | |
| 2009-04-27 | *) of.test_only to not open file if only stat() is enough | Igor Sysoev | 1 | -1/+3 | |
| *) of.failed to return exact name of failed syscall | |||||
| 2009-02-24 | small optimization: " == NGX_ERROR" > " != NGX_OK" | Igor Sysoev | 1 | -1/+1 | |
| 2008-10-16 | NGX_OPEN_FILE_DIRECTIO_OFF | Igor Sysoev | 1 | -1/+1 | |
| 2008-09-27 | *) log_subrequest | Igor Sysoev | 1 | -12/+33 | |
| *) flush variables in access log | |||||
| 2008-09-12 | disable directio for access_log with variables | Igor Sysoev | 1 | -0/+1 | |
| 2008-09-05 | remove unused #include's | Igor Sysoev | 1 | -1/+0 | |
| 2008-07-07 | always test root existence for access_log with variables | Igor Sysoev | 1 | -4/+19 | |
| 2008-07-01 | NULL script in default access_log | Igor Sysoev | 1 | -0/+1 | |
| 2008-06-30 | fix variable access_log merging | Igor Sysoev | 1 | -1/+2 | |
| 2008-06-30 | fix error message | Igor Sysoev | 1 | -1/+2 | |
