logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Schwarzenbach (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1086) SizeBasedTriggeringPolicy is not working properly with Logj2 2.3 version jars
Date Tue, 06 Sep 2016 21:12:21 GMT

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

Eric Schwarzenbach commented on LOG4J2-1086:
--------------------------------------------

This is also broken in 2.6.2 . I suppose this is implied, since it is still open and with
fix version set to 2.7, but the title of this issue probably also shouldn't say "2.3 version".
Also, there are other issues that appear to be duplicates of this one, like LOG4J2-1170. 


> SizeBasedTriggeringPolicy is not working properly with Logj2 2.3 version jars
> -----------------------------------------------------------------------------
>
>                 Key: LOG4J2-1086
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1086
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.3, 2.4.1
>         Environment: Windows 7 OS Websphere 8.5.5.6
>            Reporter: Sharat
>            Assignee: Ralph Goers
>            Priority: Minor
>              Labels: features
>             Fix For: 2.7
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <Configuration>
> <Appenders> 
> 		<RollingFile name="RollingFile" fileName="/logs/test.log" 
> 			filePattern="/logs/test-%i.log"> 
> 			<PatternLayout> 
> 				<pattern>%d %-5p %class{36} (%M:%L) -%msg%xEx%n</pattern> 
> 			</PatternLayout> 
> 			<Policies> 
> 				<SizeBasedTriggeringPolicy size="2 KB" />
> 			</Policies>
> 			<DefaultRolloverStrategy max="5"/> 
> 		</RollingFile> 
> 		<Console name="console" target="SYSTEM_OUT"> 
> 			<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>

> 		</Console> 
> 	</Appenders> 
> 	<Loggers>
> 	    <root level="trace">
> 		  <appender-ref ref="RollingFile"/> 
> 	      <appender-ref ref="console"/>
> 	    </root>
> 	</Loggers>
> </Configuration>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message