aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/frt/frtconfigagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config/src/vespa/config/frt/frtconfigagent.cpp')
-rw-r--r--config/src/vespa/config/frt/frtconfigagent.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/src/vespa/config/frt/frtconfigagent.cpp b/config/src/vespa/config/frt/frtconfigagent.cpp
index d5c662d1bda..ff16ef77a1b 100644
--- a/config/src/vespa/config/frt/frtconfigagent.cpp
+++ b/config/src/vespa/config/frt/frtconfigagent.cpp
@@ -26,7 +26,7 @@ FRTConfigAgent::handleResponse(const ConfigRequest & request, ConfigResponse::UP
{
if (LOG_WOULD_LOG(spam)) {
const ConfigKey & key(request.getKey());
- LOG(spam, "current state for %s: generation %" PRId64 " md5 %s", key.toString().c_str(), _configState.generation, _configState.md5.c_str());
+ LOG(spam, "current state for %s: generation %ld md5 %s", key.toString().c_str(), _configState.generation, _configState.md5.c_str());
}
if (response->validateResponse() && !response->isError()) {
handleOKResponse(std::move(response));
@@ -57,7 +57,7 @@ void
FRTConfigAgent::handleUpdatedGeneration(const ConfigKey & key, const ConfigState & newState, const ConfigValue & configValue)
{
if (LOG_WOULD_LOG(spam)) {
- LOG(spam, "new generation %" PRId64 " for key %s", newState.generation, key.toString().c_str());
+ LOG(spam, "new generation %ld for key %s", newState.generation, key.toString().c_str());
}
_configState.generation = newState.generation;
bool hasDifferentPayload = newState.hasDifferentPayloadFrom(_configState);
@@ -84,7 +84,7 @@ FRTConfigAgent::handleErrorResponse(const ConfigRequest & request, ConfigRespons
setWaitTime(_numConfigured > 0 ? _timingValues.configuredErrorDelay : _timingValues.unconfiguredDelay, multiplier);
_nextTimeout = _timingValues.errorTimeout;
const ConfigKey & key(request.getKey());
- LOG(info, "Error response or no response from config server (key: %s) (errcode=%d, validresponse:%d), trying again in %" PRId64 " milliseconds", key.toString().c_str(), response->errorCode(), response->hasValidResponse() ? 1 : 0, _waitTime);
+ LOG(info, "Error response or no response from config server (key: %s) (errcode=%d, validresponse:%d), trying again in %ld milliseconds", key.toString().c_str(), response->errorCode(), response->hasValidResponse() ? 1 : 0, _waitTime);
}
void
@@ -92,7 +92,7 @@ FRTConfigAgent::setWaitTime(uint64_t delay, int multiplier)
{
uint64_t prevWait = _waitTime;
_waitTime = _timingValues.fixedDelay + (multiplier * delay);
- LOG(spam, "Adjusting waittime from %" PRId64 " to %" PRId64, prevWait, _waitTime);
+ LOG(spam, "Adjusting waittime from %ld to %ld", prevWait, _waitTime);
}
uint64_t FRTConfigAgent::getTimeout() const { return _nextTimeout; }