[jetty-user] Problem redirecting stdout to log file (Jetty 6.1.26)
Rens Verhage <[email protected]> Tue, 23 Aug 2011 10:32:54 +0200
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <CAKc2UO0_8zt_Z_xLL7p_YkEnggUWuAGmRmgkV-vGcRAtM2aqSQ@mail.gmail.com> |
Hi, I'm having some trouble redirecting stderr/out to a log file. I followed directions from http://docs.codehaus.org/display/JETTY/StdErrStdOut, but this only partly helps. On startup, all stout is logged to console, until my application has fully started, then Jetty starts logging to file. Is this normal behavior? All this started happening after configuring BoneCP as my preferred connection pool (as a replacement for c3p0). To make BoneCP work, I had to copy log4j-1.2.14.jar, slf4j-api-1.5.6.jar and slf4j-jcl-1.5.6.jar to my jetty/lib folder, as BoneCP depends on slf4j. This is when my trouble started, before when I was using c3p0 and the log4j and slf4j files weren't placed in jetty's lib folder, stdout was directed straight to file. Anyone familiar with this phenomenon? Rens