" What exactly do you mean by "the screen"? "
I mean the "out" object. In the case of JSP this is the JspWriter response
output stream object. Which under TOMCAT is the
org.apache.jasper.runtime.JspWriterImpl object.
("out" is vender specific so it maps to something else under JRUN)
I guess something more specific like JspAppender might be more reasonable.
Like what was discussee back in 2001 in this LOGT4J mailing list:
http://mail-archives.apache.org/mod_mbox/logging-log4j-user/200101.mbox/%3cN
[EMAIL PROTECTED]
I was not able to see if they resolved the question or not though.
Application Architect
[EMAIL PROTECTED]
Ext 6418
-----Original Message-----
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 1:21 PM
To: Log4J Users List
Subject: Re: To Screen *NOT* to Console
On 12/13/05, Slaughter, Stan <[EMAIL PROTECTED]> wrote:
> What do I need to do to set up an Appender to log to the screen not the
> console?
>
> The equivalent of out.print in a JSP file instead of System.out.print
>
> I need to let the user know when an error occurs and logging error
messages
> to a console does not do it. I'd think a common task would be to send
> messages to the screen, yet I can't find a Screen Appender. What am I
> overlooking?
>
> Does log4j-1.2.12 not support this? Will I have to duplicate all my error
> messages with an equivalent out.print statement?
What exactly do you mean by "the screen"? Is there a resonable
definition that would even work most of the time? What would it be
for a Swing desktop app? What would it be for a web service? What
would it be for a JSP (where would it write it)?
I don't see how there could be a ScreenAppender just because it would
be near impossible for it to do something logical most of the time.
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-----------------------------------------
The information in this message may be proprietary and/or confidential,
and protected from disclosure. If the reader of this message is not
the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify First Data immediately by
replying to this message and deleting it from your computer.