You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2003/08/01 02:21:56 UTC
DO NOT REPLY [Bug 22038] New: -
Appender truncates existing log files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22038>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22038
Appender truncates existing log files
Summary: Appender truncates existing log files
Product: Log4j
Version: unspecified
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: Other
Component: Appender
AssignedTo: log4j-dev@jakarta.apache.org
ReportedBy: anderson.jb@ghc.org
Does FileAppender.setAppend("true") do anything? Each time we restart our app
server, and log to a file, the existing file is truncated and the contents
replaced with the new log statements. Although the documentation says appending
is set to true by default. It would be appear otherwise. I've tried setting
this via an XML config file and by calling setAppend() directing in the code.
Same result either way.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org