mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
make sure an ACM asks for PID in log
This commit is contained in:
parent
be03a65dc7
commit
ebeba81233
2 changed files with 5 additions and 2 deletions
|
@ -41,10 +41,13 @@ AssignmentClientMonitor::AssignmentClientMonitor(const unsigned int numAssignmen
|
||||||
_assignmentServerPort(assignmentServerPort)
|
_assignmentServerPort(assignmentServerPort)
|
||||||
{
|
{
|
||||||
qDebug() << "_requestAssignmentType =" << _requestAssignmentType;
|
qDebug() << "_requestAssignmentType =" << _requestAssignmentType;
|
||||||
|
|
||||||
// start the Logging class with the parent's target name
|
// start the Logging class with the parent's target name
|
||||||
LogHandler::getInstance().setTargetName(ASSIGNMENT_CLIENT_MONITOR_TARGET_NAME);
|
LogHandler::getInstance().setTargetName(ASSIGNMENT_CLIENT_MONITOR_TARGET_NAME);
|
||||||
|
|
||||||
|
// make sure we output process IDs for a monitor otherwise it's insane to parse
|
||||||
|
LogHandler::getInstance().setShouldOutputPID(true);
|
||||||
|
|
||||||
// create a NodeList so we can receive stats from children
|
// create a NodeList so we can receive stats from children
|
||||||
DependencyManager::registerInheritance<LimitedNodeList, NodeList>();
|
DependencyManager::registerInheritance<LimitedNodeList, NodeList>();
|
||||||
auto addressManager = DependencyManager::set<AddressManager>();
|
auto addressManager = DependencyManager::set<AddressManager>();
|
||||||
|
|
|
@ -24,7 +24,7 @@ LogHandler& LogHandler::getInstance() {
|
||||||
}
|
}
|
||||||
|
|
||||||
LogHandler::LogHandler() :
|
LogHandler::LogHandler() :
|
||||||
_shouldOutputPID(true)
|
_shouldOutputPID(false)
|
||||||
{
|
{
|
||||||
// setup our timer to flush the verbose logs every 5 seconds
|
// setup our timer to flush the verbose logs every 5 seconds
|
||||||
QTimer* logFlushTimer = new QTimer(this);
|
QTimer* logFlushTimer = new QTimer(this);
|
||||||
|
|
Loading…
Reference in a new issue