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 log.info().
Now we want to keep some debug log ( log.debug() ) restricted to QA/Staging environment . Is it somehow configurable in Enonic ?
Debug information should be outputted to the log using log.debug() instead of log.info()
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: https://discuss-3.enonic.com/t/how-to-show-log-debug-messages-set-log-level/884