﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1933	nginx -t does not write to set error log	unifiedstreaming@…		"When error log is set to another file and using a higher loglevel nginx will

a) still log
b) write to the default logs/error.log file, not the set file

In other words 

error_log logs/other-error.log warn;

has no effect on

ngx_log_error(NGX_LOG_NOTICE, cf->log, 0, "" ...

(where 'cf' is of ngx_conf_t*)

I would expect nginx to not log (because log level is 'warn' and is the log levels match to write to 'other-error.log' - or do I misunderstand something?

Best, 

Dirk





"	defect	closed	minor		documentation	1.16.x	duplicate			Linux a099eb06f9b8 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux	"nginx version: nginx/1.16.0
configure arguments: --sbin-path=/usr/local/sbin --add-dynamic-module=/home/dude/nginx_mod_smooth_streaming-1.10.12"
