Showing the changes to assignment-client/src/AssignmentClient.cpp (1 of 14 files). Show all
Unified · Split
| @@ -16,7 +16,7 @@ · 15 unmodified lines | |||
| 16 | #include <AccountManager.h> | 16 | #include <AccountManager.h> |
| 17 | #include <Assignment.h> | 17 | #include <Assignment.h> |
| 18 | #include <HifiConfigVariantMap.h> | 18 | #include <HifiConfigVariantMap.h> |
| 19 | #include <Logging.h> | 19 | #include <LogHandler.h> |
| 20 | #include <LogUtils.h> | 20 | #include <LogUtils.h> |
| 21 | #include <NodeList.h> | 21 | #include <NodeList.h> |
| 22 | #include <PacketHeaders.h> | 22 | #include <PacketHeaders.h> |
| @@ -51,7 +51,7 @@ AssignmentClient::AssignmentClient(int &argc, char **argv) : · 28 unmodified lines | |||
| 51 | connect(&_shutdownEventListener, SIGNAL(receivedCloseEvent()), SLOT(quit())); | 51 | connect(&_shutdownEventListener, SIGNAL(receivedCloseEvent()), SLOT(quit())); |
| 52 | 52 | ||
| 53 | // set the logging target to the the CHILD_TARGET_NAME | 53 | // set the logging target to the the CHILD_TARGET_NAME |
| 54 | Logging::setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME); | 54 | LogHandler::getInstance().setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME); |
| 55 | 55 | ||
| 56 | const QVariantMap argumentVariantMap = HifiConfigVariantMap::mergeCLParametersWithJSONConfig(arguments()); | 56 | const QVariantMap argumentVariantMap = HifiConfigVariantMap::mergeCLParametersWithJSONConfig(arguments()); |
| 57 | 57 | ||
| @@ -218,7 +218,7 @@ void AssignmentClient::handleAuthenticationRequest() { · 160 unmodified lines | |||
| 218 | 218 | ||
| 219 | void AssignmentClient::assignmentCompleted() { | 219 | void AssignmentClient::assignmentCompleted() { |
| 220 | // reset the logging target to the the CHILD_TARGET_NAME | 220 | // reset the logging target to the the CHILD_TARGET_NAME |
| 221 | Logging::setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME); | 221 | LogHandler::getInstance().setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME); |
| 222 | 222 | ||
| 223 | qDebug("Assignment finished or never started - waiting for new assignment."); | 223 | qDebug("Assignment finished or never started - waiting for new assignment."); |
| 224 | 224 | ||