layout: default_md title: log4j-WARN No appenders could be found for logger title-class: page-title-activemq5 type: activemq5

 FAQ > Errors > log4j-WARN No appenders could be found for logger

Error

log4j:WARN No appenders could be found for logger
(org.activemq.transport.tcp.TcpTransportChannel).
log4j:WARN Please initialize the log4j system properly.

Solution

You have not initialised log4j properly. Try reading the online log4j manual or by adding a log4j.properties file to your classpath (to a directory which is on the classpath to be precise).