Hi Ceki
Thanks, I now have DOMConfigurator working and using my custom priority.
Except I am not sure what the syntax for lo4J.dtd is to specify an appender
for a priority.
Also, how do I specify the additivity=false in the xml file?
Thanks in advance
Jeff Singer
-----Original Message-----
From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2001 09:31
To: LOG4J Users Mailing List
Subject: RE: Extending Priority class
Jeffrey,
Using the DOMConfigurator is not an option? Ceki
At 16:14 12.04.2001 +0200, Jeff Singer wrote:
>Hi Ceki
>
>When will custom properties be supported in property files ?
>
>Maybe if I explain my problem, you can give me a better solution?
>
>Firstly, I have a category instance for each class in my application (i.e.
>getInstance ( getClass().getName() ).
>Then am hoping to use the current Priorities.
>
>Now the problem,
>
>I would like to add a number of levels (break the info priority into info1
>... info 10) to give us more control on the level of detail we output.
>I am hoping to add a category called SysInfo (for lack of a better term). I
>was hoping to configure this priority (add an appender) to log to our
>internal messaging layer. Now if I cannot configure to each custom
priority,
>then I am stuck.
>
>Hope you can help
>Thanks in advance
>Jeff Singer
>
>
>-----Original Message-----
>From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
>Sent: 12 April 2001 08:58
>To: LOG4J Users Mailing List
>Subject: Re: Extending Priority class
>
>
>
>Jeffrey,
>
>Have a look at the examples under org/apache/log4j/xml/examples/X*.java and
>the XML configuration files extension*.xml. It is not yet possible to use
>custom priorities in property files.
>
>For the mailing archives, see http://jakarta.apache.org/site/mail2.html.
>Regards, Ceki
>
>At 21:56 11.04.2001 -0400, you wrote:
>>Sorry if this is an oft-times repeated thread, but I was wondering if it
>>is possible to configure logj4 to use a different priority scheme, one
>>that extends the Priority class? I find the five or so levels provided
>>insufficient for my development needs, plus I am more accustomed to a
>>numerical log-level system (i.e. I don't want to have to remember that
>>ERROR is more verbose than WARN, etc.; 10 is verbose, 0 ain't). From
>>what I can tell, I would have to write a custom extension of the
>>PropertyConfigurator to do this. There is nothing in the documentation
>>that tells me how to configure the existing system to use a different
>>Priority system (unless I just haven't found it yet). Any guidance?
>>Thanx in advance!
>>
>>jeff
>>
>>ps if there are searchable archives of the mailing list out there,
>>please tell me where so I can do some digging!
>
>--
>Ceki Gülcü Web: http://qos.ch
>email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
--
Ceki Gülcü Web: http://qos.ch
email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]