-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NOTICE logs printed when log level set to warn #320
Comments
Thank you for your report. |
That's what I thought too, but seem like it isn't. Here is my
And here is the output from
|
fmm, I can't reproduced this behavior.
events {
worker_connections 1024;
}
worker_processes auto;
error_log logs/error_log_test warn;
http {
include mime.types;
mruby_init_code 'p "[#{Process.pid}] init master process"';
mruby_init_worker_code 'p "[#{Process.pid}] init worker process from inline code";';
mruby_exit_worker_code 'p "[#{Process.pid}] exit worker process from inline code"';
server {
listen 58081;
server_name localhost;
location / {
mruby_content_handler_code "Nginx.rputs 'proxy test ok'";
}
}
}
Please check it. |
@matsumotory I can reproduce it.
I can see the mechanism enabled message and other notice messages in build/nginx/logs/error.log:
|
Oops, the above configuration was wrong. I can reproduce it with warn level too.
|
Hi,
I see that
mruby
module doesn't respect theerror_log
setting. In the/etc/nginx/nginx.conf
I set log level like so:error_log /var/log/nginx/error.log warn;
, but I still seenotice
logs specifically frommruby
module. See examples below. What could be the reason?For example
Or:
The text was updated successfully, but these errors were encountered: