Re: How to use the extras

2007-12-06 Thread Jacob Kjome
Try... org.apache.log4j.rolling.RollingFileAppender instead of org.apache.logging.rolling.RollingFileAppender Jake _Sopra PROJ RTE Puma wrote: I just can't use them correctly. I tried to add the jar into my weblogic (9.1) classpath, and then changing the call from org.apache.logging.Roll

Re: Logging custom level using log4j in java

2007-12-06 Thread orko
A good example will be found here: http://jaikiran.wordpress.com/2006/07/12/create-your-own-logging-level-in-log4j/ Curt Arnold <[EMAIL PROTECTED]> wrote: On Dec 6, 2007, at 5:19 PM, chiran wrote: > > Hi all, > It is very easy to create a custom log4j level. > All u need is the basic understandi

Re: Logging custom level using log4j in java

2007-12-06 Thread Curt Arnold
On Dec 6, 2007, at 5:19 PM, chiran wrote: Hi all, It is very easy to create a custom log4j level. All u need is the basic understanding of how the different levels are organized. Good example of extending levels for the right reason. Praveen Kumar Hasthalapuram wrote: Hi All, I nee

Re: Logging custom level using log4j in java

2007-12-06 Thread chiran
Hi all, It is very easy to create a custom log4j level. All u need is the basic understanding of how the different levels are organized. here is the sample code for that. create a custom level of your own. package com.custom.log; import org.apache.log4j.Level; // Referenced classes of packag

Re: Sequence numbers for LoggingEvents

2007-12-06 Thread Paul Duffy
Thanks Scott, We're using 1.2.13 and hoping to solve the sequence number issues with a currently available extension mechanisms. Couple Qs... 1. The receivers package does not seem to be released yet? We can't find the downloads. http://logging.apache.org/log4j/companions/receivers/download.h

Re: Datasource settings in config file for jdbcappender.

2007-12-06 Thread Curt Arnold
On Dec 5, 2007, at 9:30 PM, srinivas ramgopal wrote: Hi all, A newbie question - Is there a way to avoid hard coding of the database connection values in the JDBCAppender in log4j.xml? In other words, can a datasource be referenced in log4j.xml? Any pointers to code snippets is highly a

How to use the extras

2007-12-06 Thread _Sopra PROJ RTE Puma
I just can't use them correctly. I tried to add the jar into my weblogic (9.1) classpath, and then changing the call from org.apache.logging.RollingFileAppender to org.apache.logging.rolling.RollingFileAppender. But it desperately says No class def found... If anyone has a clue on this, it wou