logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Specifying my appender in property file
Date Mon, 19 Jun 2006 14:48:42 GMT
The full name of the class that you created.

On 7/20/06, Kailash KN <kailash_kn@thbs.com> wrote:
> Hi,
> I have written my own Appender extending RollingFileAppender, how do i specify log4j
to use my appender instead of log4j's RollingFileAppender???
> This change has to be done in the property file.
>
> Here goes an excerpt of my log4j.properties file -
>
> log4j.debug=true
> log4j.logger.debugLogg=DEBUG, RollOver
> log4j.appender.RollOver=?
> log4j.appender.RollOver.layout=org.apache.log4j.PatternLayout
> log4j.appender.RollOver.layout.ConversionPattern=%d{dd-MMM-yyyy  HH\:mm\:ss} %6p - %m
%n
>
> ....
> ....
> ....
>
> What do i specify in the place of "?"
>
>
> Any help would be greatly appreciated. Thanks in advance.
>
> Regards,
> Kailash.K.N.
>
>


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

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


Mime
View raw message