Project

General

Profile

Actions

Bug #45

closed

Date Incorrect in stats.log

Added by Eoin Miller almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

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

Actions #1

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!

Actions #2

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.

Actions #3

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.

Actions

Also available in: Atom PDF