logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-292) FastFileAppender overwrites previous log entries
Date Tue, 02 Jul 2013 16:17:20 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697928#comment-13697928

Gary Gregory commented on LOG4J2-292:

Please ask questions on the user mailing list, see https://logging.apache.org/log4j/2.x/mail-lists.html
> FastFileAppender overwrites previous log entries 
> -------------------------------------------------
>                 Key: LOG4J2-292
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-292
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.0-beta7
>         Environment: Java 1.6_045.
>            Reporter: Asaf Erlich
>            Assignee: Remko Popma
>            Priority: Minor
>             Fix For: 2.0-beta8
>         Attachments: LOG4J-292.patch
> When I use a fast file appender it seems to start from the beginning of the file every
time, overwriting previous entries.  What I mean is that if the program starts, then I start
again.  The previous entries at the very beginning of the file are overwritten.
> It's possible that the fact that the entries span multiple lines might make it worse.
 Either way it always seems to start at the beginning of the file, instead of at the end (like
log4j 1.2.x did).
> Maybe I need to try the regular file appender instead of the fast one and see if the
same behavior occurs.
> I'm not at my workstation so I can't recreate it at the moment, but if you have trouble
recreating it let me know.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

View raw message