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 Endre Stølsvik <En...@Stolsvik.com> on 2001/11/02 19:26:10 UTC
Several appenders on same piece of tree with different priority.
I would like my std-out logger to log debug statements and everything
during development. But I'd also want a separate file where just all the
"warn" and "error" statements go, without all the debug and info and all
that crap.
So, one file with everything, and then another file with just the
warnings and errors. Of exactly the same categories.
Is this possible?
While I was writing this email, I remebered something called filters, and
found "Class PriorityMatchFilter". In the javadocs online it says: "See
configuration files test11.xml and test12.xml for an example of seeting up
a PriorityMatchFilter." (note the "seeting", btw!)
- Those two links to the xml files are broken.
The filters, are those appender-specific, or where are they used?
A little comment on the docs: I find the introduction good, but there is
too little doc on the XML config stuff. It would be really nice with a
document describing the various features, with lots of examples, and also
some examples of commonly used types of appenders, filters and setups.
--
Mvh,
Endre
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Several appenders on same piece of tree with different priority.
Posted by Yoav Shapira <sh...@mpi.com>.
Howdy,
My feelings towards the docs are EXACTLY the same ;)
Yoav
> A little comment on the docs: I find the introduction good, but there is
> too little doc on the XML config stuff. It would be really nice with a
> document describing the various features, with lots of examples, and also
> some examples of commonly used types of appenders, filters and setups.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>