Module: check_mk
Branch: master
Commit: 6e04d47e4aaf76f5a492b568f92bf887728ac1da
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6e04d47e4aaf76…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Mon Sep 11 11:26:46 2017 +0200
Rotate windows agent logs
Use hard-coded maxBytes = 8 MB and backupCount = 5 in first version.
TODO: make these rotation parameters configurable.
Change-Id: I5d602754f5004b7c5d5a8f4d4e6271d0cada477c
---
agents/windows/Makefile | 6 +-
agents/windows/RotatingFileHandler.cc | 131 ++++++++++++++++++++++++++++++++++
agents/windows/RotatingFileHandler.h | 64 +++++++++++++++++
agents/windows/check_mk_agent.cc | 40 +++++------
4 files changed, 216 insertions(+), 25 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=6e04d47e4a…