rhew.org

Algorithm::Diff - Raw Log File

This is an example segment from one of the log files to be compared. The highlighted line contains a timestamp and a "key" to be used to compare this log against other logs. A Perl "one-liner" isolates and format lines like these so that the logs can be compared.
11/08/00-19:47:22 (TID 12) LNP_REC:Field [7] = 23
11/08/00-19:47:22 (TID 12) LNP_REC:Field [8] = 018018018
11/08/00-19:47:22 (TID 12) LNP_REC:Field [9] = 22
11/08/00-19:47:22 (TID 12) LNP_REC:Field [10] = 017017017
11/08/00-19:47:22 (TID 12) LNP_REC:Field [11] = 21
11/08/00-19:47:22 (TID 12) Message Parsed OK   
Found LRN Entry
**Entered rtdb_upd_sub_gtt_n_upd_radb() with Service = 3
**Entered rtdb_upd_sub_gtt_n_upd_radb() with Service = 4
**Entered rtdb_upd_sub_gtt_n_upd_radb() with Service = 5
**Entered rtdb_upd_sub_gtt_n_upd_radb() with Service = 6
11/08/00-19:47:22 (TID 12) (1282)JRS A ConxnUPDATE SUB SUCCESSFUL
11/08/00-19:47:22 (TID 12) Previous Response:1
***********Packages  Updated Successfully---Sending Success Response to JRS Update Packages*********
11/08/00-19:47:22 (TID 12) JRS A ConxnRemote is Alive and Connected
11/08/00-19:47:22 (TID 12) JRS A Conxn:Update Transaction
11/08/00-19:47:22 (TID 12) (1602) JRSConn:Begin process UPDATE TRANS!!!!
11/08/00-19:47:22 (TID 12) JRS A Conxn: RTDB UPDATE IN PROGESS transaction id:71
11/08/00-19:47:22 (TID 12) JRS A Conxn: RTDB UPDATE IN PROGESS trans_idx     :0
11/08/00-19:47:22 (TID 12) JRS A Conxn: RTDB UPDATE IN PROGESS seq_num       :0
11/08/00-19:47:22 (TID 12) (1662)JRSConn:Set Upd in Progress = TRUE
11/08/00-19:47:22 (TID 12)JRS_MSG:CS(71):Its Package :1090
11/08/00-19:47:22 (TID 12) RECVD PT: Update Sub    
11/08/00-19:47:22 (TID 12) LNP_REC:Field [0] = 9002004746
11/08/00-19:47:22 (TID 12) LNP_REC:Field [1] = 9194840147
11/08/00-19:47:22 (TID 12) LNP_REC:Field [2] = TKLC
11/08/00-19:47:22 (TID 12) LNP_REC:Field [3] = 0
11/08/00-19:47:22 (TID 12) LNP_REC:Field [4] = 016016016
11/08/00-19:47:22 (TID 12) LNP_REC:Field [5] = 20
11/08/00-19:47:22 (TID 12) LNP_REC:Field [6] = 019019019
11/08/00-19:47:22 (TID 12) LNP_REC:Field [7] = 23
11/08/00-19:47:22 (TID 12) LNP_REC:Field [8] = 018018018
11/08/00-19:47:22 (TID 12) LNP_REC:Field [9] = 22
11/08/00-19:47:22 (TID 12) LNP_REC:Field [10] = 017017017
11/08/00-19:47:22 (TID 12) LNP_REC:Field [11] = 21
11/08/00-19:47:22 (TID 12) Message Parsed OK   
Found LRN Entry
**Entered rtdb_upd_sub_gtt_n_upd_radb() with Service = 3
**Entered rtdb_upd_sub_gtt_n_upd_radb() with Service = 4
**Entered rtdb_upd_sub_gtt_n_upd_radb() with Service = 5
**Entered rtdb_upd_sub_gtt_n_upd_radb() with Service = 6
11/08/00-19:47:22 (TID 12) (1282)JRS A ConxnUPDATE SUB SUCCESSFUL
11/08/00-19:47:22 (TID 12) Previous Response:1
***********Packages  Updated Successfully---Sending Success Response to JRS Update Packages*********
11/08/00-19:47:22 (TID 12) JRS A ConxnRemote is Alive and Connected
11/08/00-19:47:22 (TID 12) JRS A Conxn:Update Transaction
11/08/00-19:47:22 (TID 12) (1602) JRSConn:Begin process UPDATE TRANS!!!!
11/08/00-19:47:22 (TID 12) JRS A Conxn: RTDB UPDATE IN PROGESS transaction id:71

rhew.org (c) 2001 James Rhew