Re: [jetty-user] need help wrt jetty's logging

Corey <[email protected]>
Newsgroups gmane.comp.java.jetty.support
Organization bitworthy
Message-ID <[email protected]>
On Tuesday 15 February 2011 8:42:36 Joakim Erdfelt wrote:
> Sounds like your app specific logging is also outputting to console.
> Jetty captures all console output and saves it into the jetty.log as well.
> Check your app specific configuration and disable any sort of console logging output.
> 

Hello!  Thanks for the quick response!

I have in fact confirmed that my app-specific logging is not
logging to console; in fact I've completely turned off all
console logging in the app in question.  

Additionally, it's clear that what's showing up in jetty.log is not 
being generated by my apps log config due to the format:

jetty.log:
...
7796 [pool-1-thread-9] INFO  grails.app.controller.myApp - blah blah

myApp.log:
...
2011-02-15 21:38:56 [pool-1-thread-9] myApp - blah blah

When I do enable console logging, then the jetty.log ends up
with dup entries per log event:

jetty.log:
...
7796 [pool-1-thread-9] INFO  grails.app.controller.myApp - blah blah
2011-02-15 21:38:56 [pool-1-thread-9] myApp - blah blah

myApp.log:
2011-02-15 21:38:56 [pool-1-thread-9] myApp - blah blah



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.