<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi.<br>
<br>
I have some questions about using slf4j in a J2EE context:<br>
<br>
1) I see there is a ServletContext back-end here:
<a class="moz-txt-link-freetext" href="https://github.com/pmahoney/slf4j-servletcontext">https://github.com/pmahoney/slf4j-servletcontext</a><br>
but it doesn't seem referenced on the slf4j website, although it
looks like the only way to have the webapp rely on the container
logger.<br>
Does it mean that it's a standard behavior to ignore the container
logger?<br>
<br>
2) I read in the FAQ: "As of SLF4J version 1.5.3, logger instances
survive serialization. Thus, serialization of the host class no
longer requires any special action, even when loggers are declared
as instance variables."<br>
Would this still be true when using the slf4j-servletcontext
back-end? Let say I want to put a logger as a session attribute.
Since the servlet context initialization may happen *after* sessions
de-serialization, I have some doubts about it...<br>
<br>
Thanks,<br>
<br>
Claude<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</body>
</html>