logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Property Config order independent?
Date Wed, 12 Feb 2003 18:14:59 GMT

Howdy,
FYI: this is a common problem.  We would appreciate it if you could
donate your modified properties class or someset therefore (e.g.
PropertiesSerializer), under the Apache license, to the
commons-configuration project ;) <troll>


Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Richard Bair [mailto:rbair@dtint.com]
>Sent: Wednesday, February 12, 2003 12:42 PM
>To: Log4J Developers List
>Subject: RE: Property Config order independent?
>
>Even better, if the resulting file had comments!  That is another nasty
>side effect of using java.util.Properties to do the work - it strips
out
>the comments. :-(
>
>Most likely, I'll have to write my own Properties class that does the
>same basic thing as the java.util.Properties to avoid some of these
side
>effects.
>
>Richard
>
>On Tue, 2003-02-11 at 15:08, 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
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-dev-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
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