summaryrefslogtreecommitdiffstats
path: root/src/elog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/elog.cpp')
-rw-r--r--src/elog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/elog.cpp b/src/elog.cpp
index 9cd18c8..ba6e522 100644
--- a/src/elog.cpp
+++ b/src/elog.cpp
@@ -24,6 +24,12 @@ namespace monitoring
void ElogBase::operator()(Context ctx)
{
+ if (ctx == Context::START)
+ {
+ // No action should be taken as this call back is being called from
+ // daemon Startup.
+ return;
+ }
log();
}
OpenPOWER on IntegriCloud