This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes log4j in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "log4j in jboss" Watch "log4j in jboss" New topic
Author

log4j in jboss

Ismael Gimenez
Greenhorn

Joined: Oct 21, 2008
Posts: 9
I have this code..



And when i call the logging functions like this..




The JBoss Server logs the messages on the console but the log.log file is empty.

I want to log the messages in that file. Any ideas?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: log4j in jboss
 
Similar Threads
Log4j will not write to log file.
Help Please -log4j:WARN No appenders could be found for logger
log4j logging twice
log4j doesn't create backup files in web-app, the same code in pure java app works fi
Log4j