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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -