permaculture playing cards*
The moose likes JBoss/WildFly and the fly likes server.log in JBoss 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "server.log in JBoss 6" Watch "server.log in JBoss 6" New topic
Author

server.log in JBoss 6

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 103
The server.log shows only a fraction of the error message which are shown in the console.
My jboss-logging.xml is still out of the box.
The configurations for the file and console handler look similiar.
However I see ERRORS scrolling by in the console on startup and in the server log only one ERROR without any usefull details shows up.
I need to see all ERRORS in the server.log
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10068
    
163

The server.log logging is triggered a bit too late during the server startup process in AS6. Most of the other (previous) remaining logs can be found in the boot.log.

[My Blog] [JavaRanch Journal]
Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 103
Thanks Jaikiran,
perhaps you could help me with another logging problem.
I see log messages from my EJB jar but not from my WAR.
In both cases I use


But I never see log message from managed beans in the WAR. I have checked with the debugger that the log statements are actually called.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10068
    
163

When are you logging this message? During server startup or after the server is up and running and when you access the application? What is the package name and the classname from where you are logging that message? Is that a log4j Logger? Have you packaged a log4j.xml/log4j.properties in your application? What does it look like?
 
wood burning stoves
 
subject: server.log in JBoss 6