logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject RE: Property Config order independent?
Date Wed, 12 Feb 2003 15:02:13 GMT

The PropertyConfigurator does not depend on the order of directives in the 
property file. Why should an non-existent restriction be introduced?

By the way, the DOMConfigurator part of log4j.dtd might disappear in the 
future as  DOMConfigurator might be allowing things so rich that cannot be 
expressed in a DTD.

At 09:57 12.02.2003 -0500, you wrote:
>Why not follow the (implied) order that the XML DOMConfigurator follows, 
>as determined by the associated DTD? If nothing else, it would establish a 
>consistency if ordering/dependency issues come to light.
>
>-d
>
>
>At 02:08 PM 2/11/2003 -0800, Mark Womack wrote:
>
>>It would be nice if the properties were sorted by name in the resulting
>>file.  Then the related properties would be grouped together. :-)
>>
>>-Mark
>>
>> > -----Original Message-----
>> > From: Richard Bair [mailto:rbair@dtint.com]
>> > Sent: Tuesday, February 11, 2003 1:49 PM
>> > To: Log4J Developers List
>> > Subject: RE: Property Config order independent?
>> >
>> >
>> > Ya, I checked out the PropertyConfigurator source.  It loads the
>> > properties into a Properties object via the load method,
>> > which suggests
>> > as well that order isn't important.  Also, a quick test seemed to
>> > confirm it as well.
>> >
>> > Thanks,
>> > Richard
>> > On Tue, 2003-02-11 at 14:39, Mark Womack wrote:
>> > > You should look at the PropertyConfigurator source to be sure.
>> > >
>> > > -Mark
>> > >
>> > > > -----Original Message-----
>> > > > From: Richard Bair [mailto:rbair@dtint.com]
>> > > > Sent: Tuesday, February 11, 2003 1:25 PM
>> > > > To: Log4J Developers List
>> > > > Subject: Property Config order independent?
>> > > >
>> > > >
>> > > > All,
>> > > >
>> > > > I'm working on that log4j configuration gui, and am using the
>> > > > java.util.Properties class for reading the standard
>> > properties style
>> > > > log4j config file.  When the Properties class stores its data
>> > > > back into
>> > > > a file, it does so in a different order than the original
>> > file.  Does
>> > > > this matter?  I am under the impression that the order in
>> > the file is
>> > > > unimportant, but since I've only ever used the xml
>> > > > configuration files,
>> > > > I'm not 100% certain on this.
>> > > >
>> > > > Thanks,
>> > > > Richard
>> > > >
>> > > >
>> > > >
>> > ---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
>> > > > For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
>> > > >
>> > >
>> > >
>> > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
>> > > For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
>> > >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
>> >
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
>
>
>+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
>   donald h. larmee                               dlarmee@utopiansoft.com
> 
>804.301.UTOP
>                          utopian software concepts, inc.
>                                  www.utopiansoft.com
>+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
>

--
Ceki 


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


Mime
View raw message