• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

server.log in JBoss 6

 
Ranch Hand
Posts: 153
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 153
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic