On 12/4/14, 3:11 AM, [email protected] wrote:
Zitat von Ryan Kelly <[email protected]>:
On 12/1/14, 2:05 PM, Dominik Erdmann wrote:
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.

These are information logging produced by the application.  It should
be possible to configure your app server to ignore them or send them
elsewhere.

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.

Let me know if this works, and I'll get it added to the setup docs for future reference.


  Cheers,

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

Reply via email to