Skip to content

Commit 2119a39

Browse files
committed
Use FwkInfo level for source deactivation messages
These messages are not really warnings, but it's useful to see them in the logs.
1 parent aa569da commit 2119a39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Utilities/XrdAdaptor/src/XrdRequestManager.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,13 +406,13 @@ bool RequestManager::compareSources(const timespec &now,
406406
std::string hostname_a;
407407
Source::getHostname(activeSources[a]->ID(), hostname_a);
408408
if (quality_a > 5130) {
409-
edm::LogWarning("XrdAdaptorLvl3") << "Deactivating " << hostname_a << " from active sources because the quality ("
409+
edm::LogFwkInfo("XrdAdaptorLvl3") << "Deactivating " << hostname_a << " from active sources because the quality ("
410410
<< quality_a << ") is above 5130 and it is not the only active server";
411411
}
412412
if ((quality_a > 260) && (quality_b * 4 < quality_a)) {
413413
std::string hostname_b;
414414
Source::getHostname(activeSources[b]->ID(), hostname_b);
415-
edm::LogWarning("XrdAdaptorLvl3") << "Deactivating " << hostname_a << " from active sources because its quality ("
415+
edm::LogFwkInfo("XrdAdaptorLvl3") << "Deactivating " << hostname_a << " from active sources because its quality ("
416416
<< quality_a
417417
<< ") is higher than 260 and 4 times larger than the other active server "
418418
<< hostname_b << " (" << quality_b << ") ";

0 commit comments

Comments
 (0)