FileAppender append="false" does not truncate the file on startup

2015-09-01 Thread Sharath Gururaj
I expect app.log to be truncated on my application startup. This is not the case. It is never truncated. Please help Thanks Sharath

Re: FileAppender append="false" does not truncate the file on startup

2015-09-01 Thread Remko Popma
Can you provide your full configuration? (You may want to raise a Jira ticket to track this issue.) To confirm, the actual behaviour is that log4j appends to the end of the existing app.log file, is that correct? Sent from my iPhone > On 2015/09/02, at 2:50, Sharath Gururaj

Re: approach for defining loggers

2015-09-01 Thread Gary Gregory
On Tue, Sep 1, 2015 at 3:26 PM, Nicholas Duane wrote: > I was re-reading this and thought I should respond. You mentioned that > levels are used to indicate the importance of what you logged. The logger > helps you with "what is it that I'm trying to tell" the audience, if I

RE: approach for defining loggers

2015-09-01 Thread Nicholas Duane
I was re-reading this and thought I should respond. You mentioned that levels are used to indicate the importance of what you logged. The logger helps you with "what is it that I'm trying to tell" the audience, if I have that correct. Which I kind of agree. The logger, in my mind, indicates

Re: approach for defining loggers

2015-09-01 Thread Ralph Goers
Gary, your examples are great and would be a good addition to the Introduction page. Ralph > On Sep 1, 2015, at 3:47 PM, Gary Gregory wrote: > > On Tue, Sep 1, 2015 at 3:26 PM, Nicholas Duane > wrote: > >> I was re-reading

Re: FileAppender append="false" does not truncate the file on startup

2015-09-01 Thread Ralph Goers
Can you also add status=“DEBUG” to your configuration and provide that? I’d like to see what is being passed through the configuration. Ralph > On Sep 1, 2015, at 4:41 PM, Remko Popma wrote: > > Can you provide your full configuration? (You may want to raise a Jira