Log4s : Initializing the log4s Framework : Programmatic Initialization : Customizing Debug Message Settings

Customizing Debug Message Settings
This section discusses how to change how log4s reports internal error and debug information..
It is generally a good idea to leave these values unchanged. If you set debugEnabled to false, log4s will write only critical error messages. (See EsPatternLayout>>pattern for an example of a debug message.) You can change the value of debugEnabled with this piece of code:
EsLogLog debugEnabled: false
If you set quietMode to true, log4s will be completely silent about any errors it encounters. You can change the value of debugEnabled with this piece of code:
EsLogLog quietMode: true