It is all documented with many examples in the complete log4j manual. See http://jakarta.apache.org/log4j/docs/documentation.html


At 14:13 27.01.2003 +0200, you wrote:
Thankx for the reply, but I mean as in the xml file:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration>

<appender name="LF5Appender" class="org.apache.log4j.lf5.LF5Appender">
<param name="MaxNumberOfRecords" value="1000"/>
</appender>

<root>
<priority value ="debug" />
<appender-ref ref="LF5Appender"/>
</root>

</log4j:configuration>

The tag named appender is there any documentation that tell u the format of the xml, or in the case of the property file.



Ashraf Fouad Ayoub
Senior Developer
Raya Software

1 Abdel Hameed Lotfy St.,
Nasr City, Cairo 11371, Egypt
Phone: * (202) 670-3301/2/3/4/6/8 Ext. 295
Fax: * (202) 670-3296
Email: * [EMAIL PROTECTED]
Web: * http://www.rayasoftware.com/


-----Original Message-----
From: Daniel Serodio [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 2:08 PM
To: Log4J Users List
Subject: Re: Full documentation of attributes


On Mon, 2003-01-27 at 09:20, Ashraf Fouad wrote:
> Is there any full documentation of attributes for appenders, and how they are written in files as properties & xml?

It's all fully documented in the Javadoc. All the Appenders have
getter/setter methods for its attributes. eg. FileAppender has a
setFile(...) method, which means that there is a File attribute that can
be configured.

[]'s
Daniel Serodio

> Ashraf Fouad Ayoub
> Senior Developer
> Raya Software
>
> 1 Abdel Hameed Lotfy St.,
> Nasr City, Cairo 11371, Egypt
> Phone: * (202) 670-3301/2/3/4/6/8 Ext. 295
> Fax: * (202) 670-3296
> Email: * [EMAIL PROTECTED]
> Web: * http://www.rayasoftware.com/
--
Ceki


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

Reply via email to