logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erico Seberino da Silva Júnior (JIRA) <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-440) exception on shutdown tomcat in Mac OSX
Date Fri, 08 Nov 2013 01:56:17 GMT

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

Erico Seberino da Silva Júnior commented on LOG4J2-440:
-------------------------------------------------------

jar files:
- log4j-api-2.0-beta9.jar
- log4j-core-2.0-beta9.jar

log4j2.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<configuration status="warn">
	<appenders>
		<Console name="console" target="SYSTEM_OUT">
			<ThresholdFilter level="all" />
			<PatternLayout charset="UTF-8" pattern="%d{dd/MM/yyyy HH:mm:ss.SSS} [%t] %-5level %logger:%L
- %m%n%throwable{full}" />
		</Console>
		<RollingFile name="rollingfile" fileName="/Applications/tomcat7/logs/webkit.log" filePattern="/Applications/tomcat7/logs/webkit-%d{yyyy-MM-dd}.log.zip">
			<ThresholdFilter level="warn" />
			<PatternLayout charset="UTF-8" pattern="%d{dd/MM/yyyy HH:mm:ss.SSS} [%t] %-5level %logger:%L
- %m%n%throwable{full}" />
			<Policies>
				<TimeBasedTriggeringPolicy />
			</Policies>
			<DefaultRolloverStrategy max="30" />
		</RollingFile>
	</appenders>
	<loggers>
		<logger name="org.apache.catalina.connector.ClientAbortException" level="all" additivity="false">
			<appender-ref ref="console"/>
		</logger>
		<root level="all">
			<appender-ref ref="console" />
			<appender-ref ref="rollingfile" />
		</root>
	</loggers>
</configuration>

> exception on shutdown tomcat in Mac OSX
> ---------------------------------------
>
>                 Key: LOG4J2-440
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-440
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0-beta9
>         Environment: Mac OSX (Mountain or Mavericks).
>            Reporter: Erico Seberino da Silva Júnior
>            Priority: Minor
>
> Apache Tomcat 7.0.47 throws exceptions (class not found for org.apache.logging.log4j.core.config.NullConfiguration)
but only happens when shutdown tomcat process.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
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