Configuring Exception logging

12 Jul
2013
12 Jul
'13
7:49 p.m.
Suppose I have this Java code: try { // ... } catch (Exception ex) { logger.error("Something went wrong", ex); } I want to choose at runtime if a specific Logger should log the exception's stacktrace or just its message. Is this possible with Logback? Thanks in advance, Daniel Serodio
4466
Age (days ago)
4466
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniel Serodio (lists)