Module: check_mk
Branch: master
Commit: dc05854b89996632d327564b1829a4c73e4af145
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dc05854b899966…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Thu Feb 11 11:19:19 2016 +0100
windows agent: hiding source of new eventlog wrapper from unpackaged agents list
---
agents/windows/CONTENTS | 2 ++
agents/windows/check_mk_agent.cc | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/agents/windows/CONTENTS b/agents/windows/CONTENTS
index 5252919..2766b05 100644
--- a/agents/windows/CONTENTS
+++ b/agents/windows/CONTENTS
@@ -48,4 +48,6 @@ wmiHelper.h (hide)
wmitest.cc (hide)
OHMMonitor.h (hide)
OHMMonitor.cc (hide)
+EventLog.h (hide)
+EventLog.cc (hide)
.depend (hide)
diff --git a/agents/windows/check_mk_agent.cc b/agents/windows/check_mk_agent.cc
index 1d92df2..19c901f 100644
--- a/agents/windows/check_mk_agent.cc
+++ b/agents/windows/check_mk_agent.cc
@@ -856,7 +856,6 @@ void output_eventlog(OutputProxy &out, const char *logname,
EVENTLOGRECORD *record = log.read();
while (record != nullptr) {
std::pair<char, int> state = determine_event_state(record, level);
- crash_log("peek %d", (int)record->RecordNumber);
worst_state = std::max(worst_state, state.second);
// store highest record number we found. This is just in case