• 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

Start domain in debug mode

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Their achilles heel is the noogie! Give them noogies tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic