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

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

1 Answer 1

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

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.