changeset | c363ad6b3b23 |
---|---|
branch | default |
bookmark | |
tag | tip |
user | Maxim Dounin <mdounin@mdounin.ru> |
description | Adjusted logging level of ENOENT connect() errors. Connecting to unix sockets might legitimately return ENOENT if the socket does not exists. Changed logging level of such errors from the default one for unknown errors, "crit", to "error". |
files | src/core/ngx_resolver.c src/event/ngx_event_connect.c |
changeset | 37ef53ecd6b0 |
---|---|
branch | |
bookmark | |
tag | |
user | Maxim Dounin <mdounin@mdounin.ru> |
description | Adjusted ENOBUFS logging level. On local datagram sockets ENOBUFS might legitimately appear due to insufficient space in socket buffers, as seen on BSD systems. Accordingly, ngx_connection_error() now logs it with logging level set for the particular connection errors, either "info" or "error" (instead of "alert", which was previously used). |
files | src/core/ngx_connection.c src/os/unix/ngx_errno.h src/os/win32/ngx_errno.h |
changeset | c769217b4a5c |
---|---|
branch | |
bookmark | |
tag | |
user | Maxim Dounin <mdounin@mdounin.ru> |
description | Syslog: logging level of connect() errors. Connecting to syslog server might legitimately fail: for example, if syslogd is not running, and the connection is made over a unix socket. As such, the "alert" logging level is not appropriate. Changed logging level to "crit" instead, similarly to the logging level used for connect() errors in resolver. |
files | src/core/ngx_syslog.c |
changeset | 1c9264603adc |
---|---|
branch | |
bookmark | |
tag | |
user | Maxim Dounin <mdounin@mdounin.ru> |
description | Syslog: introduced ngx_syslog_send() error logging moderation. Errors when logging to syslog are now logged at most once per second. This ensures that persistent errors won't flood other logs, and spontaneous errors, such as ENOBUFS as observed on BSD systems when syslogd cannot cope with load, or EAGAIN as seen in similar situation on Linux, won't further overload logging subsystem, leading to more errors. Further, errors now can only trigger reconnects at most once per second. This ensures that persistent errors, which cannot be fixed with reconnects, don't trigger too much unneeded work. Additionally, in case of connection errors, such as when syslogd is not running, connection attempts are only made once per second. |
files | src/core/ngx_connection.c src/core/ngx_connection.h src/core/ngx_syslog.c src/core/ngx_syslog.h |
changeset | c7c8354f99fa |
---|---|
branch | |
bookmark | |
tag | |
user | Maxim Dounin <mdounin@mdounin.ru> |
description | Syslog: fixed duplicate errors with access logging to syslog. The ngx_syslog_send() function logs errors itself, so there is no need to additionally log errors in the caller, notably access log modules in http and stream. To ensure that incomplete and blocked writes are also logged, appropriate logging added to ngx_syslog_send(). |
files | src/core/ngx_syslog.c src/http/modules/ngx_http_log_module.c src/stream/ngx_stream_log_module.c |
changeset | 697f452bc033 |
---|---|
branch | |
bookmark | |
tag | |
user | Maxim Dounin <mdounin@mdounin.ru> |
description | Fixed server name in special responses with "server_tokens off;". Missed in 9213:23f109f0facc. Reported by Antanas PataĊĦius. |
files | src/http/ngx_http_special_response.c |
changeset | 0b51902d9f24 |
---|---|
branch | |
bookmark | |
tag | |
user | Tatsuya Kaneko <catatsuy@catatsuy.org> |
description | Fixed server name in HTTP/1.x with "server_tokens off;". Missed in 9213:23f109f0facc. |
files | src/http/ngx_http_header_filter_module.c |
changeset | a7c41e449bbe |
---|---|
branch | |
bookmark | |
tag | |
user | Maxim Dounin <mdounin@mdounin.ru> |
description | Version bump. |
files | src/core/nginx.h |
changeset | 8b8b2e1aa77a |
---|---|
branch | |
bookmark | |
tag | |
user | Maxim Dounin <mdounin@mdounin.ru> |
description | release-1.25.4 tag |
files | .hgtags |
changeset | ab948bfa042d |
---|---|
branch | |
bookmark | |
tag | release-1.25.4 |
user | Maxim Dounin <mdounin@mdounin.ru> |
description | freenginx-1.25.4-RELEASE |
files | docs/xml/nginx/changes.xml |