logging - Is it possible to create user defined level of LOG in java? -
is possible create user-defined level of log in java? if yes can give me example?
i have web application, , web services exposed same. want create new log file every new request. there way can it? if yes, please share solution. thank in advance :)
you can use mdc(mapped diagnostic context) in logback. web application javax.servlet.filter
can used set context values every request.
example: http://logback.qos.ch/xref/chapters/mdc/userservletfilter.html
Comments
Post a Comment