Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Core: "-e" command line option. | Igor Ippolitov | 2020-11-19 |
| | | | | | | | | | When installing or running from a non-root user it is sometimes required to override default, compiled in error log path. There was no way to do this without rebuilding the binary (ticket #147). This patch introduced "-e" command line option which allows one to override compiled in error log path. | ||
* | Removed the prototype mysql module. | Ruslan Ermilov | 2016-03-31 |
| | |||
* | Style. | Ruslan Ermilov | 2016-03-30 |
| | |||
* | Core: properly initialized written bytes counter in memory log. | Valentin Bartenev | 2015-05-19 |
| | |||
* | Stream: port from NGINX+. | Ruslan Ermilov | 2015-04-20 |
| | |||
* | Core: added cyclic memory buffer support for error_log. | Valentin Bartenev | 2015-03-19 |
| | | | | | | | | | | | | | | | | | | | | Example of usage: error_log memory:16m debug; This allows to configure debug logging with minimum impact on performance. It's especially useful when rare crashes are experienced under high load. The log can be extracted from a coredump using the following gdb script: set $log = ngx_cycle->log while $log->writer != ngx_log_memory_writer set $log = $log->next end set $buf = (ngx_log_memory_buf_t *) $log->wdata dump binary memory debug_log.txt $buf->start $buf->end | ||
* | Log: use ngx_cpymem() in a couple of places, no functional changes. | Valentin Bartenev | 2015-03-04 |
| | |||
* | Core: added disk_full_time checks to error log. | Maxim Dounin | 2015-01-13 |
| | |||
* | Core: fixed default log initialization. | Vladimir Homutov | 2014-07-24 |
| | | | | | The ngx_log_insert() function may invalidate pointer passed to it, so make sure to don't use it after the ngx_log_insert() call. | ||
* | Added syslog support for error_log and access_log directives. | Vladimir Homutov | 2014-05-12 |
| | |||
* | Core: consolidated log-related code. | Vladimir Homutov | 2013-06-28 |
| | | | | | The stderr redirection code is moved to ngx_log_redirect_stderr(). The opening of the default log code is moved to ngx_log_open_default(). | ||
* | Core: support several "error_log" directives. | Vladimir Homutov | 2013-06-20 |
| | | | | | | | | | | | | When several "error_log" directives are specified in the same configuration block, logs are written to all files with a matching log level. All logs are stored in the singly-linked list that is sorted by log level in the descending order. Specific debug levels (NGX_LOG_DEBUG_HTTP,EVENT, etc.) are not supported if several "error_log" directives are specified. In this case all logs will use debug level that has largest absolute value. | ||
* | Core: moved initialization of log level. | Vladimir Homutov | 2013-06-13 |
| | | | | | | The cycle->new_log->log_level should only be initialized by ngx_init_cycle() if no error logs were found in the configuration. This move allows to get rid of extra initialization in ngx_error_log(). | ||
* | Core: fixed handling of "stderr" in error_log. | Vladimir Homutov | 2013-06-04 |
| | | | | | | If "stderr" was specified in one of the "error_log" directives, stderr is not redirected to the first error_log on startup, configuration reload, and reopening log files. | ||
* | Copyright updated. | Maxim Konovalov | 2012-01-18 |
| | |||
* | Complain on invalid log levels. | Maxim Dounin | 2011-08-18 |
| | | | | | | | | | | | | | Previously only first log level was required to be correct, while error_log directive in fact accepts list of levels (e.g. one may specify "error_log ... debug_core debug_http;"). This resulted in (avoidable) wierd behaviour on missing semicolon after error_log directive, e.g. error_log /path/to/log info index index.php; silently skipped index directive and it's arguments (trying to interpret them as log levels without checking to be correct). | ||
* | remove semicolon, because it is already in "nginx: " prefix | Igor Sysoev | 2011-02-21 |
| | |||
* | remove semicolon, because it is already in "nginx: " prefix | Igor Sysoev | 2010-12-11 |
| | |||
* | add "nginx: " prefix when logging to the stderr | Igor Sysoev | 2010-11-29 |
| | |||
* | use copied strerror() messages and autoconfigured sys_nerr value | Igor Sysoev | 2010-11-25 |
| | |||
* | ngx_str_set() and ngx_str_null() | Igor Sysoev | 2010-05-14 |
| | |||
* | *) refactor error_log processing: listen socket log might inherit built-in | Igor Sysoev | 2009-04-30 |
| | | | | | | error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames | ||
* | fix building by BCC if NGX_PREFIX is defined | Igor Sysoev | 2009-04-29 |
| | |||
* | introduce ngx_write_console() to support OEM code pages | Igor Sysoev | 2009-04-28 |
| | |||
* | ngx_log_errno() | Igor Sysoev | 2009-04-27 |
| | |||
* | use ngx_vslprintf(), ngx_slprintf() | Igor Sysoev | 2009-04-27 |
| | |||
* | -p and --prefix= | Igor Sysoev | 2009-04-27 |
| | |||
* | change ngx_log_abort() interface | Igor Sysoev | 2009-04-24 |
| | |||
* | style fix: (void) | Igor Sysoev | 2009-04-24 |
| | |||
* | change ngx_log_create_errlog() interface | Igor Sysoev | 2009-04-24 |
| | |||
* | issue start up errors and warning on both stderr and error_log | Igor Sysoev | 2009-04-23 |
| | |||
* | style fix: remove trailing spaces introduced in the previous commit | Igor Sysoev | 2009-04-23 |
| | |||
* | use ngx_str_t for error levels | Igor Sysoev | 2009-04-23 |
| | |||
* | style fix: remove trailing spaces | Igor Sysoev | 2009-04-21 |
| | |||
* | fix r2731 for Win32 | Igor Sysoev | 2009-04-21 |
| | |||
* | Win32 master/workers model | Igor Sysoev | 2009-04-20 |
| | |||
* | show -t results on stderr | Igor Sysoev | 2009-04-19 |
| | |||
* | fix building on platforms which have no atomic operations support, | Igor Sysoev | 2009-04-17 |
| | | | | the bug was introduced in r2564 | ||
* | Win32 appends synchronized if only FILE_APPEND_DATA and SYNCHRONIZE are set | Igor Sysoev | 2009-03-31 |
| | | | | | without any other flags. On the other hand, Unix requires at least the write flag to be set together with O_APPEND. | ||
* | win32 ngx_open_file() supports utf8 names and NGX_FILE_APPEND | Igor Sysoev | 2009-03-30 |
| | |||
* | small optimization: " == NGX_ERROR" > " != NGX_OK" | Igor Sysoev | 2009-02-24 |
| | |||
* | set the error level as default http error_log level | Igor Sysoev | 2009-01-16 |
| | |||
* | compact win32 errno logging | Igor Sysoev | 2008-12-09 |
| | |||
* | compatibility with glibc 2.3, warn_unused_result attribute for write() | Igor Sysoev | 2008-11-11 |
| | |||
* | --sysconfdir=DIR | Igor Sysoev | 2007-07-29 |
| | |||
* | Many changes: | Igor Sysoev | 2007-03-19 |
| | | | | | | | *) rename imap to mail, sort pop3/imap functions *) smtp auth support *) pop3 starttls only *) fix segfault if cram-md5 was used without apop | ||
* | ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access) | Igor Sysoev | 2007-01-18 |
| | |||
* | fix log message | Igor Sysoev | 2007-01-18 |
| | |||
* | ngx_sprintf() has implicit limit of 65536 bytes so on Linux/ppc64 | Igor Sysoev | 2006-12-19 |
| | | | | | in 32-bit mode the errstr is somewhere at 0xffffd680, the "last" overflows and ngx_vsnprintf() does not print at all | ||
* | slab allocator in shared memory | Igor Sysoev | 2006-11-20 |
| |