facebook

Jetty 5.1.2 and logging issue

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

    Hi All, trying to use jetty 5.1.2 but i got an issue, i dont see any logs from my webapp in the console ( logs from frameworks as hibernate/spring are shown as expected), i mean if if do a log.debug(“test blabla”), i dont see it by the console. If i deploy the webapp to tomcat or resin, it works…

    Any idea ? Thanks in advance.

    #225540 Reply

    Riyad Kalla
    Member

    Do you have a log configuration file somewhere in your classpath that is defining where your log is going to? You using Log4j or Commons? It’s possible you have setup a file appender and MyEclipse is not able to intercept those file I/O calls, so you aren’t seein them. I know with my projects I use Console appenders for this exact reason and just let the app server log everything (which also lets me see the messages during developement, in the console).

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Jetty 5.1.2 and logging issue

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