Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On an Ubuntu 10.04 server w/ Apache2, I have auth_mysql turned on, and I am getting [debug] messages showing up. How can I turn these off? I'm guessing there is a way to turn this off for the module, as well as for all 'debug' messages. I am curious how to do both.

Originally I posted about auth-mysql only; however, I also want to control WSGI's output (currently showing [info] messages in error.log).

share|improve this question
up vote 2 down vote accepted

in /etc/apache/apache2.conf, set LogLevel to warn or error

to control logging on a module level do this:

LogLevel error mod_wsgi:warn (global log level to error, but show warnings from the wsgi module)

I believe this ability was added in apache 2.4...

share|improve this answer
Any idea on how to control this on a individual module level? – Dolan Antenucci Mar 30 '11 at 19:42
updated answer to include details about module level logging – Nick P. Mar 30 '11 at 19:47
I believe the correct syntax is wsgi:warn, not mod_wsgi:warn. – Dan Tenenbaum Mar 9 at 18:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.