Project

General

Profile

Actions

Bug #8878

open
JI OD

eve: format strings in filename change position of thread number when threaded logging enabled

Bug #8878: eve: format strings in filename change position of thread number when threaded logging enabled

Added by Jason Ish about 16 hours ago. Updated about 16 hours ago.

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

Description

For example:

  - eve-log:
      enabled: yes
      filetype: regular
      filename: eve.json
      threaded: true

Results in a log directory like:

./eve.1.json
./eve.2.json
./eve.3.json
./eve.4.json
./eve.5.json
./eve.6.json
./eve.7.json
./eve.8.json
./eve.9.json
./eve.10.json

Change the filename to filename: eve.json.%s and we get:

./eve.json.1.1786573993
./eve.json.2.1786573993
./eve.json.3.1786573993
./eve.json.4.1786573993
./eve.json.5.1786573993
./eve.json.6.1786573993
./eve.json.7.1786573993
./eve.json.8.1786573993
./eve.json.9.1786573993
./eve.json.10.1786573993

The thread number is inserted before the last extension, I believe the intention was for it to be inserted before the .json.

Either fix, or document this behavior.

Actions

Also available in: PDF Atom