update-logfmt

The update-logfmt script (should be in in /usr/bin/ when installed via system package) will create .log.fmt files for known system logs.

It's basically just a wrapper script that invokes handlers in /usr/share/logfmt/update/*. Each of which scans one application config to locate and decorate its according log files.

args

param desc
--test print script names which would run, but don't run them.
--verbose print script names before running them.

scripts

Currently just supports:

  • Apache (access, global, error and transfer logs, no forensic logs)
  • Nginx (only accesss logs)

More static system logs (klog/syslog) might be supported in the next version.