How to disable Logger?
Please how disable output panel many logger info in clear code?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Ondina D.F. on 09 Jan, 2014 10:10 AM
Hi,
To disable the logger, you need to create a custom MVCSBundle like this:
and use it like this:
In your CustomMVCSBundle, you either comment out context.logLevel = LogLevel.DEBUG; or set it to 0, like in the example above, or you don't install the TraceLoggingExtension.
So, if you'd have a Bundle like this one:
then you can control the logger by setting it to whatever you need it to be:
I hope that helps.
Ondina
2 Posted by transglobals on 09 Jan, 2014 10:27 AM
uff, thanks
Support Staff 3 Posted by Ondina D.F. on 09 Jan, 2014 11:12 AM
no problem
Ondina D.F. closed this discussion on 09 Jan, 2014 11:12 AM.