icinga2-diagnostics
icinga2-diagnostics copied to clipboard
Rename logs to endpoint
In tarball mode, when collecting logfiles, we should do the following:
- Put all logs in one file. Mainlog and debuglog have the same syntax, only different detail levels. We should not just ignore the mainlog when debuglog is present.
- We should make sure no entry is duplicated.
- Rename the log the
[endpointname].log. This way we can sort out which log is which when collecting data from several endpoints. And it plays nicely with https://hub.docker.com/r/widhalmt/support-log-forwarder