server/client search logging

This commit is contained in:
Michael Davidsaver
2021-07-06 18:32:53 -07:00
parent f52609a587
commit 9af841cccd
4 changed files with 23 additions and 8 deletions
+4 -1
View File
@@ -683,8 +683,11 @@ void procSearchReply(ContextImpl& self, const SockAddr& src, Buffer& M, bool ist
if(M.good()) {
for(const ServerGUID& ignore : self.ignoreServerGUIDs) {
if(guid==ignore)
if(guid==ignore) {
log_info_printf(io, "Ignore reply from %s with %s\n",
src.tostring().c_str(), std::string(SB()<<guid).c_str());
return;
}
}
}