RE: [jetty-user] Can Jetty 7.1.5 capture System.out and System.err messages to a log file with the datetime?
"Yee, Steve" <[email protected]>
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <CFA5D6BC549713468E4F5B95BDFF7D931245B8A9@DDCV3007.na.corp.mckesson.com> |
Hi Daniel, Thanks for responding. Sorry for the late reply. My company's email filters were creating some problems for me. I did look at the etc/jetty-logging.xml. It allows me to rollover the log file with the date and time in the file name. However, I couldn't find a way to automatically add the current date and time to each log entry. What am I missing? Where I can find the instructions to add the date and time? Do you have any links to examples? Thanks. Steve -----Original Message----- From: Daniel Peters [mailto:[email protected]] Sent: Wednesday, November 17, 2010 10:39 AM To: [email protected] Subject: Re: [jetty-user] Can Jetty 7.1.5 capture System.out and System.err messages to a log file with the datetime? On 17.11.2010 00:16, Yee, Steve wrote: > In the Java web application I'm working on, I'm looking for a way to have Jetty 7.1.5 capture System.out and System.err > messages to a log file with the datetime automatically added similar to the request log feature. Does this feature > exists? If it doesn't, does anyone know whether there is any plan to add this feature in any future releases? Thanks. Check out etc/jetty-logging.xml, that should be what you are looking for. regards Daniel --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email