I've come to learn that cycle->connections->log is compatible with NGX_LOG_DEBUG_HTTP, so I'm doing that.by jmm - Nginx Mailing List - English
I want to print debug messages from my module's init_worker() and exit_worker() functions like so: ngx_log_debug0(NGX_LOG_DEBUG, cycle->log, 0, "init worker"); Unfortunately, this doesn't print anything. After some trial and error, I discovered the only way to print anything to cycle->log from these two functions is by calling ngx_log_error(), and only at these levels:by jmm - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |