Bug #45
closedDate Incorrect in stats.log
Description
Example output from stats.log. Date is behind by one month:
-------------------------------------------------------------------
3/0/2010 -- 17:42:49
-------------------------------------------------------------------
Counter | TM Name | Value
-------------------------------------------------------------------
tcp.sessions | Stream1 | 0
tcp.sessions | Stream2 | 0
tcp.sessions | Stream3 | 0
tcp.sessions | Stream4 | 0
detect.alert | Detect1 | 0
detect.alert | Detect2 | 0
decoder.pkts | Decode1 | 20
decoder.pkts_per_sec | Decode1 | 2.857143
decoder.bytes | Decode1 | 8252
decoder.bytes_per_sec | Decode1 | 1178.857143
decoder.mbit_per_sec | Decode1 | 0.009431
Files
Updated by Victor Julien almost 15 years ago
- Status changed from New to Closed
- Assignee set to Victor Julien
Issue was already fixed earlier today :) Will be in the next update.
Thanks for the report!
Updated by Anoop Saldanha almost 15 years ago
Patch attached. The patch now uses asctime(). Could have also fixed it by adding 1 to the month in the struct tm month field. But asctime() gives a neat formatted value.
Updated by Anoop Saldanha almost 15 years ago
Victor Julien wrote:
Issue was already fixed earlier today :) Will be in the next update.
Thanks for the report!
Oh! Never saw this post :). Do have a look at the patch though. It uses asctime(). Looks like a better format to print the time and data.