mirror of https://github.com/apache/activemq.git
Applied patch from http://issues.apache.org/activemq/browse/AMQ-1361
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
13a9200e3e
commit
2edbcd6298
|
@ -19,16 +19,16 @@
|
|||
<beans>
|
||||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
<broker useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
|
||||
<persistenceAdapter>
|
||||
<journaledJDBC journalLogFiles="2" dataDirectory="target/foo"/>
|
||||
</persistenceAdapter>
|
||||
<broker brokerName="linuxpc3" useJmx="true" xmlns="http://activemq.org/config/1.0" persistent="false" deleteAllMessagesOnStartup="true">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616"/>
|
||||
<transportConnector uri="tcp://localhost:61616?trace=true&logWriterName=custom&dynamicManagement=true&startLogging=true&jmxPort=1299"/>
|
||||
</transportConnectors>
|
||||
|
||||
<persistenceAdapter>
|
||||
<memoryPersistenceAdapter/>
|
||||
</persistenceAdapter>
|
||||
|
||||
</broker>
|
||||
|
||||
</beans>
|
||||
|
|
|
@ -18,11 +18,27 @@
|
|||
#
|
||||
# The logging properties used during tests..
|
||||
#
|
||||
log4j.rootLogger=DEBUG, stdout
|
||||
log4j.rootLogger=WARN, B
|
||||
|
||||
log4j.logger.org.apache.activemq.spring=WARN
|
||||
log4j.additivity.org.apache.activemq.transport.TransportLogger=false
|
||||
log4j.logger.org.apache.activemq.transport.TransportLogger=DEBUG, A
|
||||
|
||||
# CONSOLE appender not used by default
|
||||
# CONSOLE appender, not used by default
|
||||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
|
||||
log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
|
||||
|
||||
# File appender for transport level output
|
||||
log4j.appender.A=org.apache.log4j.FileAppender
|
||||
log4j.appender.A.File=transportlog
|
||||
log4j.appender.A.BufferedIO=false
|
||||
log4j.appender.A.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.A.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
|
||||
|
||||
# File appender for normal output
|
||||
log4j.appender.B=org.apache.log4j.FileAppender
|
||||
log4j.appender.B.File=applog
|
||||
log4j.appender.B.BufferedIO=false
|
||||
log4j.appender.B.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.B.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
|
||||
|
||||
|
|
Loading…
Reference in New Issue