Remove Debug logs from Production

We are stuck in a situation where we log a lot in production and then its difficult to analyse the logs when required.
This is because everything we are logging is by

Now we want to keep some debug log ( log.debug() ) restricted to QA/Staging environment . Is it somehow configurable in Enonic ?

Thanks in Advance !

Debug information should be outputted to the log using log.debug() instead of
Then, in order to see the debugging information in your development environment (but not in QA or production) you need to set the server log level for your app to DEBUG in the logback.xml file, as described here:

You could up the loglevel in production to warn, which means you will not get info and debug anymore.