• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Start domain in debug mode

 
Joe Harry
Ranch Hand
Posts: 10082
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I see debug logs in the server log file? I'm starting a domain using the --debug option, but I do not see any debug information printed in the server log files. All I see are just INFO logs. Is there a way that I can see the server debug log files? The reason is that I'm trying to deploy a Play framework based Webapp to Glassfish and for some strange reason, I cannot get it to work. So I wanted to see what is happening when the server loads my Webapp. From the log files, everything sees normal, no exception nothing. I can also see that my Webapp is loaded and I also confirmed it once again in the admin console. But when I try to hit the URL to my Webapp, all I get is a 404. Very strange and irritating. Any ideas?
 
K. Tsang
Bartender
Posts: 3348
12
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should able to change the logging level in that logging.properties file in <glassfish_home>/glassfish/domains/domain1/config

No restart is required. Maybe you want to redeploy after the logging change. Glassfish 3 logging

The default is INFO. Please consult the link above to identify exactly which key/label to change.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic