facebook

Configure glassfish log-level

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #288863 Reply

    kinglui
    Member

    Hi,
    I’m using a Glassfish 2ur2 server with MyEclipse 6.5 on a Mac and deployed a web/EJB3 application. Everything works fine so far.
    To log different things I use java.util.logging. If I start the server from the terminal with “./asadmin start-domain domain1” the logging output is appended to the server.log file and can be looked up in the glassfish admin console. I get all log messages I want to this way. If I start the server from (My)Eclipse no log is written to the server.log, but to the console view in eclipse – which is absolutely ok. My problem is that the log-level is set to INFO by default and I can’t find a setting where I can change it. Changing the log-level within the glassfish admin console has no effect.
    How can I set the glassfish log-level e.g. to FINER in the eclipse console?

    Thanks for your help,
    Achim

    #288926

    Greg
    Member

    Achim,

    Have you tried modifiying the log levels in the domain.xml file manually in your domain1\config directory ?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Configure glassfish log-level

You must be logged in to post in the forum log in