J
Juergen Weber
You know the situation: logging output is useless .. until you need it.
Is there a way to configure log4j in a web application or an EJB with
log level ERROR and have it change to DEBUG whenever an error happens?
The only thing I can imagine is having a special servlet that you have
to call with the browser to have it trigger a log level change for the
whole web application.
Are there better ways? Maybe with the jdk built-in logger?
Or with log4j JMX? But I could not find any docs or examples.
Thx,
Juergen
Is there a way to configure log4j in a web application or an EJB with
log level ERROR and have it change to DEBUG whenever an error happens?
The only thing I can imagine is having a special servlet that you have
to call with the browser to have it trigger a log level change for the
whole web application.
Are there better ways? Maybe with the jdk built-in logger?
Or with log4j JMX? But I could not find any docs or examples.
Thx,
Juergen