You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Brian Buckley <br...@gmail.com> on 2004/11/02 17:08:33 UTC

log4j messages from jsp scriptlet

Is is possible to collect log4j messages that are generated in a jsp
scriplet and print them out immediately further down the page in the
same jsp?

Thank you for any suggestions.

Brian

--begin testLogging.jsp--
<%
// a scriplet with java code that generates log4j messages
...
%>

// iterate over newly generated and accumulated log4j messages and
print out for viewing by user

--end testLogging.jsp--

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org