Hello everyone,
after getting used to the new JBoss 7 (I come from JBoss 4) I managed to get everything to work, exept Log4j.
In my classes I do this:
public class JMSSender {
private static final Logger logger = Logger.getLogger(JMSSender.class);
...
public void something() {
logger.info("Something");
}
But I get this message
21:35:10,396 ERROR Log4J Configuration Problems with JBoss 7.0.1 Final (http--127.0.0.1-8080-1) log4j:WARN No appenders could be found for logger (de.hauke.client.jms.JMSSender).
21:35:10,396 ERROR Log4J Configuration Problems with JBoss 7.0.1 Final (http--127.0.0.1-8080-1) log4j:WARN Please initialize the log4j system properly.
21:35:10,396 ERROR Log4J Configuration Problems with JBoss 7.0.1 Final (http--127.0.0.1-8080-1) log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
I am using maven and I put this dependency to my project
| | <dependency> |
| | | <groupId>log4j</groupId> |
| | | <artifactId>log4j</artifactId> |
| | | <version>1.2.16</version> |
| | </dependency> |