From 40d061621b510ac36ed77933bf589ebc0f4792ce Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Feb 2021 13:18:09 +0100 Subject: [PATCH] zeroconf/Avahi: remove useless log messages --- src/zeroconf/ZeroconfAvahi.cxx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/zeroconf/ZeroconfAvahi.cxx b/src/zeroconf/ZeroconfAvahi.cxx index d50aae820..d03542e39 100644 --- a/src/zeroconf/ZeroconfAvahi.cxx +++ b/src/zeroconf/ZeroconfAvahi.cxx @@ -24,14 +24,11 @@ #include "avahi/Publisher.hxx" #include "avahi/Service.hxx" #include "ZeroconfInternal.hxx" -#include "util/Domain.hxx" #include "util/RuntimeError.hxx" #include "Log.hxx" #include -static constexpr Domain avahi_domain("avahi"); - class AvahiGlue final : Avahi::ErrorHandler { public: Avahi::Client client; @@ -56,8 +53,6 @@ static AvahiGlue *avahi_glue; void AvahiInit(EventLoop &loop, const char *serviceName, unsigned port) { - LogDebug(avahi_domain, "Initializing interface"); - if (!avahi_is_valid_service_name(serviceName)) throw FormatRuntimeError("Invalid zeroconf_name \"%s\"", serviceName); @@ -72,7 +67,5 @@ AvahiInit(EventLoop &loop, const char *serviceName, unsigned port) void AvahiDeinit() { - LogDebug(avahi_domain, "Shutting down interface"); - delete avahi_glue; }