Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

server.log in JBoss 6

 
Markus Schmider
Ranch Hand
Posts: 130
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Markus Schmider
Ranch Hand
Posts: 130
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic