Commit Graph

5 Commits (efe11dc37e7f5be575981eefa50cb2891b62bb67)

Author SHA1 Message Date
Jason Ish 1b4ba4496c logging: rename registration functions to not have tmm
As the logging modules are no longer threading modules, rename
them so they don't look like they are being registered as
threading modules.

Also, move the registration to the output.c which will handle
registration of the loggers.
10 years ago
Victor Julien adde58d2cb log-pcap: improve profiling
Add profiling to a logfile. Default is $log_dir/pcaplog_stats.log

The counters for open, close, rotate, write and handles are written
to it, as well as:
- total bytes written
- cost per MiB
- cost per GiB

Option is disabled by default.
12 years ago
Victor Julien f6c5b1715f Update log-pcap.h, add license
Clean up log-pcap.h and add the OISF license header.
12 years ago
Victor Julien 1af2f6528b log-pcap code cleanups
Code cleanups to make functions static.
12 years ago
William Metcalf 023a0f94a2 first stab at pcap logging no rotating buff etc 16 years ago