> sorry, I got that it's just feature )) > > but it will be great if you'll suppress these error messages, just not > to fill all logs with them. at least in cache_exists. > > also what u think about idea, to add to the LOG's param, some array or > list with keywords, to ignore some lines in LOG's? > > so in this case I could do something like this in my uwsgi ini file: > > log_ignore_lines = "recvmsg()", "error parsing request" > > or > > log_accept_only_lines = "some get URI to catch" > > I think it will be useful in many cases while debugging, and not only. > >
Even if it may looks a 'raw' approach, it is very common for user to ask how to suppress some specific error/warning and logging levels simply does not work as what it is INFO for me could be DEBUG for you. As we have already a good regexp engine, a filtering/rewrite subsystem for loglines would be not that bad and would be really easy to implement. This is not related to your specific problem as cache exists/get should not print low-level error, but could be an interesting thing to add in the future. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
