Project

General

Profile

Actions

Bug #45

closed
EM VJ

Date Incorrect in stats.log

Bug #45: Date Incorrect in stats.log

Added by Eoin Miller about 16 years ago. Updated about 16 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

VJ Updated by Victor Julien about 16 years ago Actions #1

  • 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!

AS Updated by Anoop Saldanha about 16 years ago Actions #2

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.

AS Updated by Anoop Saldanha about 16 years ago Actions #3

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: PDF Atom