logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Trouble with file appender
Date Thu, 06 Mar 2003 19:57:16 GMT

Howdy,
I know ;(  It's an unfortunate deviation from strict JavaBeans style.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Jason [mailto:jasonriz@yahoo.com]
>Sent: Thursday, March 06, 2003 2:56 PM
>To: Log4J Users List
>Subject: RE: Trouble with file appender
>
>
>--- "Shapira, Yoav" <Yoav.Shapira@mpi.com> wrote:
>>
>> Howdy,
>> Did you try with
>> log4j.appender.RESAPP.Append=false
>>
>> ?
>>
>> ;)
>
>Thanks Yaov.  The name of the flag in the FileAppender
>class is 'fileAppend' so I figured the name of the
>option would be 'fileAppend'  In any case, thanks
>again.
>
>-jason
>
>>
>> Yoav Shapira
>> Millennium ChemInformatics
>>
>>
>> >-----Original Message-----
>> >From: Jason [mailto:jasonriz@yahoo.com]
>> >Sent: Thursday, March 06, 2003 2:43 PM
>> >To: log4j-user@jakarta.apache.org
>> >Subject: Trouble with file appender
>> >
>> >Hello,
>> >
>> >I'm using FileAppender for the first time and I've
>> run
>> >into a bit of trouble.  When I restart the VM,
>> >messages logged to this appender are appended to
>> the
>> >contents of the diskfile rather than deleting the
>> file
>> >(or clearing it) and starting fresh.  My appender
>> is
>> >configured in a property file as follows:
>> >
>> >log4j.appender.RESAPP=org.apache.log4j.FileAppender
>> >log4j.appender.RESAPP.File=c:\\logs\\admra.log
>> >log4j.appender.RESAPP.fileAppend=false
>> >
>> >I thought that the last line should cause the
>> behavior
>> >I'm looking for but it seems that this isn't the
>> case.
>> > Thanks in advance to anyone who can clear this up
>> for
>> >me.
>> >
>> >-jason
>> >
>> >__________________________________________________
>> >Do you Yahoo!?
>> >Yahoo! Tax Center - forms, calculators, tips, more
>> >http://taxes.yahoo.com/
>> >
>>
>>---------------------------------------------------------------------
>> >To unsubscribe, e-mail:
>> log4j-user-unsubscribe@jakarta.apache.org
>> >For additional commands, e-mail:
>> log4j-user-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-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail:
>> log4j-user-help@jakarta.apache.org
>>
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Tax Center - forms, calculators, tips, more
>http://taxes.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-user-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-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message