diff -pruN 0.8.15+nmu1/apt-avahi-discover 0.8.15+nmu1ubuntu1/apt-avahi-discover
--- 0.8.15+nmu1/apt-avahi-discover	2020-01-10 09:33:45.000000000 +0000
+++ 0.8.15+nmu1ubuntu1/apt-avahi-discover	2021-10-05 09:23:59.000000000 +0000
@@ -10,6 +10,7 @@ import socket
 import sys
 import time
 from subprocess	import Popen, PIPE, call
+from syslog import syslog, LOG_INFO, LOG_USER
 
 DEFAULT_CONNECT_TIMEOUT_SEC = 2
 
@@ -58,6 +59,11 @@ class AptAvahiClient(asyncore.dispatcher
     def __repr__(self):
         return "<{}> {}: {}".format(
             self.__class__.__name__, self.addr, self.time_to_connect)
+    def log(self, message):
+        syslog((LOG_INFO|LOG_USER), '%s\n' % str(message))
+    def log_info(self, message, type='info'):
+        if type not in self.ignore_log_types:
+            self.log('%s: %s' % (type, message))
 
 
 def is_ipv6(a):
diff -pruN 0.8.15+nmu1/debian/changelog 0.8.15+nmu1ubuntu1/debian/changelog
--- 0.8.15+nmu1/debian/changelog	2021-06-14 14:41:11.000000000 +0000
+++ 0.8.15+nmu1ubuntu1/debian/changelog	2021-10-05 09:23:59.000000000 +0000
@@ -1,3 +1,13 @@
+squid-deb-proxy (0.8.15+nmu1ubuntu1) impish; urgency=medium
+
+  [ Michael Vogt ]
+  * apt-avahi-discover: use syslog for logging
+    in AptAvahiClient, thanks to Jason Pepas
+    (jasonpepas@gmail.com).
+    (LP: #1505670).
+
+ -- Miriam España Acebal <miriam.espana@canonical.com>  Tue, 05 Oct 2021 11:23:59 +0200
+
 squid-deb-proxy (0.8.15+nmu1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -pruN 0.8.15+nmu1/debian/control 0.8.15+nmu1ubuntu1/debian/control
--- 0.8.15+nmu1/debian/control	2020-01-10 10:15:27.000000000 +0000
+++ 0.8.15+nmu1ubuntu1/debian/control	2021-10-05 09:23:59.000000000 +0000
@@ -1,7 +1,8 @@
 Source: squid-deb-proxy
 Section: net
 Priority: optional
-Maintainer: Michael Vogt <mvo@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Michael Vogt <mvo@debian.org>
 Build-Depends: debhelper (>= 12),
                gettext,
                intltool,
