mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 10:20:26 +00:00
Add logging of LP events
This commit is contained in:
@@ -59,6 +59,7 @@ void EventWatcher::sendLPEvent(QString system, int priority, QString msg){
|
||||
obj.insert("class" , system);
|
||||
HASH.insert(LIFEPRESERVER, obj);
|
||||
//qDebug() << "New LP Event Object:" << obj;
|
||||
LogManager::log(LogManager::EV_LP, obj);
|
||||
if(!starting){ emit NewEvent(LIFEPRESERVER, obj); }
|
||||
}
|
||||
|
||||
@@ -299,4 +300,4 @@ void EventWatcher::ReadLPRepFile(){
|
||||
emit sendLPEvent("replication", 0, txt);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user