logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fxc (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-271) FastRollingFileAppender
Date Fri, 31 May 2013 08:37:20 GMT
fxc created LOG4J2-271:

             Summary: FastRollingFileAppender
                 Key: LOG4J2-271
                 URL: https://issues.apache.org/jira/browse/LOG4J2-271
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 2.0-beta6
         Environment: Window7 
            Reporter: fxc
             Fix For: 2.0-beta6

		<FastRollingFile name="Media" fileName="${medialog}.log"
			immediateFlush="true" filePattern="${medialog}-%d{MM-dd-yyyy}-%i.log">
				<pattern>%d [%t] [%-5level] [%F:%L] %msg%n
				<TimeBasedTriggeringPolicy />
				<SizeBasedTriggeringPolicy size="100 MB" />

When log file created,like this:
media-01-01-1970-1.log   size:1KB

I set SizeBasedTriggeringPolicy 100 MB ,but the size of file "media-01-01-1970-1.log" is 1KB
and time ends with file name is not right

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