| Author |
Getting Error Code to print while using LogBack.
|
Vic Hood
Ranch Hand
Joined: Jan 05, 2011
Posts: 477
|
|
Hi folks ,
I'm trying to implement the SLF4J +LogBack logging solution to implement logging in my application .
I've modified the Pattern Expression in the logback.xml as below.
And its working fine . However I'd like to print the 'error code ' as well in my log say 404 or 500 as well . Any ideas on how I should be modifying my pattern expression for this?
Thanks.
|
Learning and Learning!-- Java all the way!
|
 |
 |
|
|
subject: Getting Error Code to print while using LogBack.
|
|
|