Commit Graph

14162 Commits (5e5da81cca2f7141baed438109b0f5dceeefa7a6)
 

Author SHA1 Message Date
Victor Julien 0ff88c0315 netmap/runmode: minor code cleanup 2 years ago
Victor Julien 0e5af9e8a7 ioctl: output cleanups 2 years ago
Victor Julien 07008f0da2 netmap: output cleanups 2 years ago
Victor Julien 597601b294 dpdk: don't "fix" broken ips setting 2 years ago
Victor Julien 4e945351a5 dpdk: output cleanups 2 years ago
Victor Julien 7196257f68 nfq: minor error message improvement 2 years ago
Victor Julien a4eefd16b7 output: add %M format option for the log message body
If %M is not specified, it is automatically appended to the format
string, to provide backwards compatibility.
2 years ago
Victor Julien fa7760aa67 commandline: output cleanups 2 years ago
Victor Julien da5fa24ab2 pcap: output cleanups 2 years ago
Victor Julien 1db4dc4fcb output: default output format
Add a separate default for file output.
2 years ago
Victor Julien 5b58be6076 output: remove unused log levels
Critical, alert and emergency were unused, so remove.
2 years ago
Victor Julien 8a3c8984b4 output: print detect-engine as detect 2 years ago
Victor Julien 199e444498 output/capture: group source and runmode
So outputs from runmode-af-packet and source-af-packet both will
show 'af-packet' as the module.
2 years ago
Victor Julien 1b755653c0 output: add %D for compact log level 2 years ago
Jeff Lucovsky 2c9c18a9d0 log/json: Convert log output to use JsonBuilder
This commit converts the file logging logic to use JsonBuilder instead
of libjansson.
2 years ago
Jeff Lucovsky e7c2298203 config: Clarify when log format can be overridden 2 years ago
Jeff Lucovsky 3a37cf4507 log: Use SCCalloc instead of alloc/clear 2 years ago
Jeff Lucovsky f8474344cd log: Add module and subsystem identifiers to log
Issue: 2497

This changeset provides subsystem and module identifiers in the log when
the log format string contains "%S". By convention, the log format
surrounds "%S" with brackets.

The subsystem name is generally the same as the thread name. The module
name is derived from the source code module name and usually consists of
the first one or 2 segments of the name using the dash character as the
segment delimiter.
2 years ago
Victor Julien 197aa010d6 unix-socket: minor output improvements 2 years ago
Victor Julien 381e9f2bdf mpm/ac: remove dead code 2 years ago
Victor Julien f33784bed3 mpm/ac: use FatalError instead of Critical and exit 2 years ago
Victor Julien dcf2f6b2be detect: more compact message on error 2 years ago
Victor Julien 8b846bdcff af-packet: output cleanups and unification
Make all messages use the same format:

<iface>: <message>
2 years ago
Victor Julien 806104c09a output: issue warning if file can't be opened 2 years ago
Victor Julien 79c84211d5 output: remove all custom errors 2 years ago
Victor Julien b31ffde6f4 output: remove error codes from output 2 years ago
Victor Julien 39f5c7f56a error: use SC_EINVAL for invalid input 2 years ago
Victor Julien e855fa0fe7 error: remove unused alloc error code 2 years ago
Victor Julien e042cd785e error: use SC_ENOMEM for alloc errors 2 years ago
Victor Julien d2c98c3281 logopenfile: errno style error handling 2 years ago
Victor Julien 1e36db9d0e hashlist: use errno style error handling 2 years ago
Victor Julien 0efdab1f5a membuffer: errno style error reporting 2 years ago
Victor Julien 8ef95c10a8 pool: use errno style error reporting 2 years ago
Victor Julien e621416d80 error: bootstrap errno like error code approach 2 years ago
Victor Julien cdd52dc8cd detect/mpm: output cleanups 2 years ago
Victor Julien cdac0425a8 device: special case handling of dpdk devices 2 years ago
Victor Julien d84bcdfd5c device: output tweak 2 years ago
Victor Julien c78ebd1352 dpdk: set RSS flags for igb driver
Tested on i340.
2 years ago
Victor Julien b08e3e7460 dpdk: ips output cleanups 2 years ago
Victor Julien 62a451a9ab eve/schema: bittorrent format fixup 2 years ago
Victor Julien 70b69a3171 output: minor code cleanups 2 years ago
Victor Julien 10c26bb628 unix-socket: don't print unix socket message twice 2 years ago
Jeff Lucovsky 82158f92c1 general: Correct typos 2 years ago
Victor Julien be895d67b6 runmodes: minor output cleanup 2 years ago
Victor Julien cef0a84bd2 detect: turn cleanup message into debug message 2 years ago
Victor Julien b76f6dfa42 device/mtu: clean up mtu message 2 years ago
Victor Julien 7ccfa9b9a6 device: cleanup stats print 2 years ago
Victor Julien fd4e522038 runmode: log test mode later 2 years ago
Victor Julien 181400bfdd pcap-file: output cleanups 2 years ago
Victor Julien ef881c942b af-packet: output cleanups 2 years ago