Hello Ryan,

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

Try something like this (untested sorry as I don't have my dev
environment handy):

   [loggers]
   keys = root

   [handlers]
   keys = console

   [logger_root]
   level = WARN
   handlers = console

   [handler_console]
   class = StreamHandler
   args = (sys.stderr,)
   level = WARN


This should cause it to log only WARN-level messages and above, which
should exclude the chatter you are currently seeing.

I tried a few things, but nothing brings the solution. I still have the log entries.

Is the "StreamHandler" the correct handler class?


Dominik
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev

Reply via email to