Anonymous | Login | Signup for a new account | 12-17-2024 08:49 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003229 | [Resin] | minor | always | 01-08-09 16:42 | 03-31-10 12:50 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | urgent | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.25 | ||||||
Summary | 0003229: log file formatting | ||||||||
Description |
(rep by Jamison Novak) I'm struggling with some log formatting in Resin 3.0 and I'm hoping you can point me in the right direction. I've been unsuccessful in finding anything about this in documentation. We are currently logging Java exceptions (or stack traces/dumps, if you prefer) and, since they can be very long and typically multi-line, Resin puts a timestamp in front of each part of the exception even though it's all one big error. Is there any way to prevent that from happening and to only have a timestamp on the first part of it? For example: Bad: [01/08/09:08:16:25] java.lang.NullPointerException [01/08/09:08:16:25] at com.foo.agent.action.pkg.shared.booking.ServiceAssignmentAction.doBookingWork(Unknown Source) [01/08/09:08:16:25] at com.foo.agent.action.pkg.shared.booking.BookingAction.doPkgProcessWork(Unknown Source) [01/08/09:08:16:25] at com.foo.agent.action.pkg.PkgProcessAction.doPkgWork(Unknown Source) [ ... ] Good: [01/08/09:08:16:25] java.lang.NullPointerException at com.foo.agent.action.pkg.shared.booking.ServiceAssignmentAction.doBookingWork(Unknown Source) at com.foo.agent.action.pkg.shared.booking.BookingAction.doPkgProcessWork(Unknown Source) at com.foo.agent.action.pkg.PkgProcessAction.doPkgWork(Unknown Source) [...] We are attempting to import our Resin logs into a centralized log system and, because of that time stamping, it is interpreting each of those lines from a single exception as unrelated events. We are looking for a way to get it to be treated as a single log event. Any thoughts? I'm really at a loss. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0003907) ferg 03-19-09 10:22 |
server/02d3 |
(0004325) alex 12-08-09 18:09 |
<log-handler> prints time stamp for each line using default resin.xml in 4.0.2 |
(0004501) ferg 03-31-10 12:50 |
env/02d4 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 28 unique queries executed. |