phoneguy has asked for the wisdom of the Perl Monks concerning the following question:
I'd like to be able to write a logfile parser that will tell me which ID's haven't finished in a log file (when the server crashes), and what SQL statements are taking the longest time. What's the easiest way to do this?2006-10-25 18:20:20,751 DEBUG [stuff][][] End Query: [Id: 1] [duration +: 96] 2006-10-25 18:20:20,762 DEBUG [stuff][][] Start Query: [Id: 2] [Descri +ption: ] [debug sql] <SQL Here> <more SQL> <more SQL> 2006-10-25 18:20:20,763 DEBUG [stuff][][] End Query: [Id: 2] [duration +: 1] 2006-10-25 18:20:20,764 DEBUG [stuff][][] Checking status of UserServi +ce 2006-10-25 18:20:20,764 DEBUG [stuff][][] Starting IntegrationService 2006-10-25 18:20:20,764 DEBUG [stuff][][] Service Started: Integration +Service 2006-10-25 18:20:20,776 DEBUG [stuff][][] Start Query: [Id: 3] [Descri +ption: ] [debug sql] SELECT
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: logfile parsing
by Fletch (Bishop) on Oct 26, 2006 at 15:17 UTC | |
by phoneguy (Novice) on Oct 26, 2006 at 15:36 UTC | |
by ptum (Priest) on Oct 26, 2006 at 16:51 UTC | |
by phoneguy (Novice) on Oct 26, 2006 at 17:42 UTC | |
by phoneguy (Novice) on Oct 26, 2006 at 16:57 UTC | |
|
Re: logfile parsing
by madbombX (Hermit) on Oct 26, 2006 at 16:05 UTC | |
by phoneguy (Novice) on Oct 26, 2006 at 16:28 UTC | |
|
Re: logfile parsing
by wolfger (Deacon) on Oct 27, 2006 at 16:21 UTC |