On 12/4/14, 3:00 PM, Dominik Erdmann wrote:
Am 04.12.2014 um 17:52 schrieb Ryan Kelly:
I setting up a new local (latest) syncserver with Apache as webserver.
The synchronization seems to work well, but I'm getting a huge
among of
entries in Apaches logfile.
Do you have a hint for me how do I ignore such messages? Is it a
mod_wsgi or an apache feature?
I'm not very familiar with mod_wsgi, but what I've read suggests that
you should be able to silence these with configuration in the
"syncserver.ini" file, using logging directives documented at:
https://docs.python.org/2/library/logging.config.html#logging-config-fileformat
I tried a few things, but nothing brings the solution. I still have the
log entries.
Is the "StreamHandler" the correct handler class?
Yes, I believe so. I copy-pasted this from one of our production
configs where we use it to control logging (although running under
gunicorn rather than mod_wsgi).
I don't have any other concrete suggestions to offer. Perhaps the
logging config is not being picked up correctly from this file, or is
silently erroring out?
You could try editing syncserver.wsgi, in the part where it calls
fileConfig(), so that it doesn't suppress exceptions.
Ryan
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev