diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-06-28 07:58:46 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-06-28 07:58:46 +0000 |
commit | 5d2db292e804671de518a3e87587b2ad0a94d5f9 (patch) | |
tree | fcc1ba18d36e9461f82be7a3ccf09ad4e43991a6 /searchcore | |
parent | 28b725a978c1fb7dbda8f06e93c6d603314b3c15 (diff) |
No need to produce error on this, warning will do.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/fdispatch/program/fdispatch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searchcore/src/vespa/searchcore/fdispatch/program/fdispatch.cpp b/searchcore/src/vespa/searchcore/fdispatch/program/fdispatch.cpp index 6e06c91a902..0af1a7e3e2b 100644 --- a/searchcore/src/vespa/searchcore/fdispatch/program/fdispatch.cpp +++ b/searchcore/src/vespa/searchcore/fdispatch/program/fdispatch.cpp @@ -259,15 +259,15 @@ namespace { bool needRestart(const FdispatchrcConfig & curr, const FdispatchrcConfig & next) { if (curr.frtport != next.frtport) { - LOG(error, "FRT port has changed from %d to %d.", curr.frtport, next.frtport); + LOG(warning, "FRT port has changed from %d to %d.", curr.frtport, next.frtport); return true; } if (curr.ptport != next.ptport) { - LOG(error, "PT port has changed from %d to %d.", curr.ptport, next.ptport); + LOG(warning, "PT port has changed from %d to %d.", curr.ptport, next.ptport); return true; } if (curr.healthport != next.healthport) { - LOG(error, "Health port has changed from %d to %d.", curr.healthport, next.healthport); + LOG(warning, "Health port has changed from %d to %d.", curr.healthport, next.healthport); return true; } return false; @@ -280,7 +280,7 @@ void Fdispatch::configure(std::unique_ptr<FdispatchrcConfig> cfg) if (cfg && _config) { if ( needRestart(*_config, *cfg) ) { const int sleepMS = (1.0 + 30 * _rndGen.nextDouble()) * 1000; - LOG(error, "Will restart by abort in %d ms.", sleepMS); + LOG(warning, "Will restart by abort in %d ms.", sleepMS); std::this_thread::sleep_for(std::chrono::milliseconds(sleepMS)); _needRestart.store(true); } |