There is actually no need to log to both stdout and stderr at the same time
so it's just a matter of sending some output to one or the other from within
the same class.  Maybe I should simply be logging at different levels?  Just
want to know what the "standard" way of doing this is.

----- Original Message -----
From: "Colin MacDonald" <[EMAIL PROTECTED]>
To: "Log4J Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 03, 2002 8:34 AM
Subject: RE: Separating stdout and stderr


> > -----Original Message-----
> >
> > We need to log to stdout in some places and stderr in others and both in
> > some other places.  What's the best way to handle this?  Will I need
> > separate loggers for each type of output or is this somehow handled by
> > appenders?
>
> Well, first, why are you writing to both stdout and stderr?  I mean,
> normally you do that so you can redirect one to a file, in which case you
> should just use a file appender of some sort.
>
> -----------------------------------------------------------------
> Colin MacDonald  |  Software Developer  |  Templar Corporation  |
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.393 / Virus Database: 223 - Release Date: 9/30/2002
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to