Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-19 | Core: "-e" command line option. | Igor Ippolitov | |
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. | |||
2016-03-31 | Removed the prototype mysql module. | Ruslan Ermilov | |
2016-03-30 | Style. | Ruslan Ermilov | |
2015-05-19 | Core: properly initialized written bytes counter in memory log. | Valentin Bartenev | |
2015-04-20 | Stream: port from NGINX+. | Ruslan Ermilov | |
2015-03-19 | Core: added cyclic memory buffer support for error_log. | Valentin Bartenev | |
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 | |||
2015-03-04 | Log: use ngx_cpymem() in a couple of places, no functional changes. | Valentin Bartenev | |
2015-01-13 | Core: added disk_full_time checks to error log. | Maxim Dounin | |
2014-07-24 | Core: fixed default log initialization. | Vladimir Homutov | |
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. | |||
2014-05-12 | Added syslog support for error_log and access_log directives. | Vladimir Homutov | |
2013-06-28 | Core: consolidated log-related code. | Vladimir Homutov | |
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(). | |||
2013-06-20 | Core: support several "error_log" directives. | Vladimir Homutov | |
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. | |||
2013-06-13 | Core: moved initialization of log level. | Vladimir Homutov | |
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(). | |||
2013-06-04 | Core: fixed handling of "stderr" in error_log. | Vladimir Homutov | |
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. | |||
2012-01-18 | Copyright updated. | Maxim Konovalov | |
2011-08-19 | Complain on invalid log levels. | Maxim Dounin | |
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). | |||
2011-02-21 | remove semicolon, because it is already in "nginx: " prefix | Igor Sysoev | |
2010-12-11 | remove semicolon, because it is already in "nginx: " prefix | Igor Sysoev | |
2010-11-29 | add "nginx: " prefix when logging to the stderr | Igor Sysoev | |
2010-11-25 | use copied strerror() messages and autoconfigured sys_nerr value | Igor Sysoev | |
2010-05-14 | ngx_str_set() and ngx_str_null() | Igor Sysoev | |
2009-04-30 | *) refactor error_log processing: listen socket log might inherit built-in | Igor Sysoev | |
error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames | |||
2009-04-29 | fix building by BCC if NGX_PREFIX is defined | Igor Sysoev | |
2009-04-28 | introduce ngx_write_console() to support OEM code pages | Igor Sysoev | |
2009-04-27 | 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-24 | 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-23 | 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-21 | style fix: remove trailing spaces | Igor Sysoev | |
2009-04-21 | fix r2731 for Win32 | Igor Sysoev | |
2009-04-20 | Win32 master/workers model | Igor Sysoev | |
2009-04-19 | show -t results on stderr | Igor Sysoev | |
2009-04-17 | fix building on platforms which have no atomic operations support, | Igor Sysoev | |
the bug was introduced in r2564 | |||
2009-03-31 | Win32 appends synchronized if only FILE_APPEND_DATA and SYNCHRONIZE are set | Igor Sysoev | |
without any other flags. On the other hand, Unix requires at least the write flag to be set together with O_APPEND. | |||
2009-03-30 | win32 ngx_open_file() supports utf8 names and NGX_FILE_APPEND | Igor Sysoev | |
2009-02-24 | small optimization: " == NGX_ERROR" > " != NGX_OK" | Igor Sysoev | |
2009-01-16 | set the error level as default http error_log level | Igor Sysoev | |
2008-12-09 | compact win32 errno logging | Igor Sysoev | |
2008-11-11 | compatibility with glibc 2.3, warn_unused_result attribute for write() | Igor Sysoev | |
2007-07-29 | --sysconfdir=DIR | Igor Sysoev | |
2007-03-19 | Many changes: | Igor Sysoev | |
*) rename imap to mail, sort pop3/imap functions *) smtp auth support *) pop3 starttls only *) fix segfault if cram-md5 was used without apop | |||
2007-01-18 | ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access) | Igor Sysoev | |
2007-01-18 | fix log message | Igor Sysoev | |
2006-12-19 | ngx_sprintf() has implicit limit of 65536 bytes so on Linux/ppc64 | Igor Sysoev | |
in 32-bit mode the errstr is somewhere at 0xffffd680, the "last" overflows and ngx_vsnprintf() does not print at all | |||
2006-11-20 | slab allocator in shared memory | Igor Sysoev | |