aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_solaris.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2023-03-10 07:43:40 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2023-03-10 07:43:40 +0300
commit853912986d9568b049ecb5499b6af987cb13cb14 (patch)
treedfedf3423b300e927cd14144da3f7b7246b25e86 /src/os/unix/ngx_solaris.h
parentff9e426337b84ed1d9ff3bbd17e7d7632c7ba19d (diff)
downloadnginx-853912986d9568b049ecb5499b6af987cb13cb14.tar.gz
nginx-853912986d9568b049ecb5499b6af987cb13cb14.zip
Syslog: removed usage of ngx_cycle->log and ngx_cycle->hostname.
During initial startup the ngx_cycle->hostname is not available, and previously this resulted in incorrect logging. Instead, hostname from the configuration being parsed is now preserved in the syslog peer structure and then used during logging. Similarly, ngx_cycle->log might not match the configuration where the syslog peer is defined if the configuration is not yet fully applied, and previously this resulted in unexpected logging of syslog errors and debug information. Instead, cf->cycle->new_log is now referenced in the syslog peer structure and used for logging, similarly to how it is done in other modules.
Diffstat (limited to 'src/os/unix/ngx_solaris.h')
0 files changed, 0 insertions, 0 deletions