[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     [snips-users] logstats unable to parse error log in beta

For some reason, in the beta code, logstats is coming back with all
lines in the logs unparseable (command line borrowed from the top of
logstats.pl); doesn't seem to matter which logfile it's run against,
etc.


-- begin
fubar% ./logstats.pl -error -ignore=10 -file ../logs/warning

                              SNIPS SUMMARY REPORT
                              ====================
                                                                   From: 
                                                                   To: 
Severity level: Error
Total Lines processed = , Unparseable= 2784
All times in d+hh:mm
Skipping downtimes less than 10 secs

   [...]

fubar% wc -l ../logs/warning
    2784 ../logs/warning
fubar% ./logstats.pl -warn -ignore=10 -file ../logs/warning

                              SNIPS SUMMARY REPORT
                              ====================
                                                                   From: 
                                                                   To: 
Severity level: Warning
Total Lines processed = , Unparseable= 2790
All times in d+hh:mm
Skipping downtimes less than 10 secs

   [...]

fubar% wc -l ../logs/warning
    2790 ../logs/warning
fubar% 

-- end



-- 
Russell M. Van Tassell
russell at loosenut com

 "Know what I hate most?  Rhetorical questions."        -- Henry N. Camp

Zyrion Traverse Network Monitoring & Network Management Software