]> granicus.if.org Git - icinga2/commit
PerfdataWriter: Rotate and close files on Pause/Shutdown/Reload
authorMichael Friedrich <michael.friedrich@icinga.com>
Wed, 20 Feb 2019 13:20:53 +0000 (14:20 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Wed, 20 Feb 2019 13:20:53 +0000 (14:20 +0100)
commit388999a86fc82cf9e8ac2f13f9a5aa52bbc3b72f
tree294deae54c47a4129fe8c3b7606be4893b10453b
parent7936a147ba82ce7e19de43ccb5f4c830edd8d235
PerfdataWriter: Rotate and close files on Pause/Shutdown/Reload

Refactored the code into a local mutex and added
some more debug logging while at it.
lib/perfdata/perfdatawriter.cpp
lib/perfdata/perfdatawriter.hpp