You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Richard Bair <rb...@yahoo.com> on 2003/05/18 01:39:20 UTC

log4j xml config file examples

Hey folks,

I was just in the awkward position of needing to
create a new log4j.xml file and didn't have a previous
one hanging around to pattern it after.  I didn't see
any links to any on the wiki, or any sample files in
the build etc.  I did find this site online, however:
http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/log4j/log4j.html#LOG4J-External-Config-File

I haven't verified the data, but it looked alright to
me.

If there really isn't any sample stuff already, I'd be
happy to contribute a full xml document.  It would be
built similiar to the apache web server config file;
it will have all of the different stock appenders in
there, but commented out.

Richard

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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


Re: log4j xml config file examples

Posted by Ceki Gülcü <ce...@qos.ch>.
Rochard,

Well there is of course "The complete log4j manual", ISBN 2970036908.
It contains proper usage patterns and many examples for XML config
files. Just ask your local bookshop for a copy. Otherwise, you can
order it on-line (see below).

At 04:39 PM 5/17/2003 -0700, you wrote:
>Hey folks,
>
>I was just in the awkward position of needing to
>create a new log4j.xml file and didn't have a previous
>one hanging around to pattern it after.  I didn't see
>any links to any on the wiki, or any sample files in
>the build etc.  I did find this site online, however:
>http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/log4j/log4j.html#LOG4J-External-Config-File
>
>I haven't verified the data, but it looked alright to
>me.
>
>If there really isn't any sample stuff already, I'd be
>happy to contribute a full xml document.  It would be
>built similiar to the apache web server config file;
>it will have all of the different stock appenders in
>there, but commented out.
>
>Richard

--
Ceki  For log4j documentation consider "The complete log4j manual"
       ISBN: 2970036908  http://www.qos.ch/shop/products/clm_t.jsp 


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