This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 100
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: 9957
    
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: 100
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: 9957
    
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: server.log in JBoss 6
 
Similar Threads
server.log showing INFO even after jboss-log4j.xml configured to ERROR mode. Please help
Jboss final start up message not comes up in console
how to create daily server logs in jBoss
JBoss' embedded tomcat not Logging
Query related to periodic-rotating-file-handler in jboss-logging.xml