Project

General

Profile

Actions

Feature #39

closed

Making Logging Configurable

Added by Will Metcalf almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

On a production sensor there probably isn't a need to have alert-debug.log, fast.log, unified, unified2 logs, stats.log and http.log all being logged. The logging options should be configurable by the user via the suricata.yaml file and via command line opts. This will be assigned as task.


Files

Actions #1

Updated by Jason Ish almost 15 years ago

The following patch allows the alert outputs to be configured with the configuration file. One important note about the thread model is that all outputs run in the same thread now which is a little different from the current IdsPcap2 mode where most of the alert outputs are in their own thread.

The other modes will be updated as well in incremental patches to this.

An example of the configuration is:

outputs:

- fast:
enabled: yes
filename: fast.log
- unified-log:
enabled: yes
filename: unified.log

And you can specify the same output multiple times, but you would want to give them their own filename.

Actions #3

Updated by Jason Ish almost 15 years ago

  • Status changed from New to Resolved

These patches are now in the master.

Actions #4

Updated by Will Metcalf almost 15 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF