aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 86
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: 9313
    
109

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: 86
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: 9313
    
109

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: server.log in JBoss 6
 
Similar Threads
how to create daily server logs in jBoss
JBoss' embedded tomcat not Logging
Jboss final start up message not comes up in console
Query related to periodic-rotating-file-handler in jboss-logging.xml
server.log showing INFO even after jboss-log4j.xml configured to ERROR mode. Please help