You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r = ngx_stream_lua_get_req(L);
if (r && r->connection && r->connection->log) {
log = r->connection->log;
} else {
log = ngx_cycle->log;
}
it looks that all the log from init phase will be written to main log, because no any request at this phase.
bu i think it's unreasonable. each log generated from the stream directive should be written to the specified log file.
openresty/1.19.3.1
no msg output in the error log, but in content_by_lua_file ngx.log and print both working well.
The text was updated successfully, but these errors were encountered: