Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 nsscache (0.38-1) UNRELEASED; urgency=medium
 .
   * New upstream release.
     * Python3!  Closes: #937164
Bug-Debian: https://bugs.debian.org/937164

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2019-11-08

--- nsscache-0.38.orig/nss_cache/app.py
+++ nsscache-0.38/nss_cache/app.py
@@ -103,9 +103,9 @@ class NssCacheApp(object):
       fmt = logging.Formatter(format_str)
       handler.setFormatter(fmt)
       handler.setLevel(level=logging.INFO)
-      logging.getLogger('').addHandler(handler)
+      logging.getLogger().addHandler(handler)
 
-    self.log = logging.getLogger('NSSCacheApp')
+    self.log = logging.getLogger(__name__)
     self.parser = self._GetParser()
 
   def _GetParser(self):
--- nsscache-0.38.orig/nss_cache/caches/caches.py
+++ nsscache-0.38/nss_cache/caches/caches.py
@@ -67,7 +67,7 @@ class Cache(object):
     """
     super(Cache, self).__init__()
     # Set up a logger for our children
-    self.log = logging.getLogger(self.__class__.__name__)
+    self.log = logging.getLogger(__name__)
     # Store config info
     self.conf = conf
     self.output_dir = conf.get('dir', '.')
--- /dev/null
+++ nsscache-0.38/nsscache.egg-info/PKG-INFO
@@ -0,0 +1,24 @@
+Metadata-Version: 2.1
+Name: nsscache
+Version: 0.38
+Summary: nsscache tool and library
+Home-page: https://github.com/google/nsscache
+Author: Jamie Wilkinson
+Author-email: jaq@google.com
+License: GPL
+Description: nsscache is a Python library and a commandline frontend to that library
+        that synchronises a local NSS cache against a remote directory service, such
+        as LDAP.
+Platform: UNKNOWN
+Classifier: Development Status :: 4 - Beta
+Classifier: Environment :: Console
+Classifier: Indended Audience :: System Administrators
+Classifier: License :: OSI Approved :: GPL
+Classifier: Operating System :: POSIX
+Classifier: Programming Language :: Python
+Classifier: Topic :: System
+Provides-Extra: bdb
+Provides-Extra: consul
+Provides-Extra: http
+Provides-Extra: ldap
+Provides-Extra: s3
--- /dev/null
+++ nsscache-0.38/nsscache.egg-info/SOURCES.txt
@@ -0,0 +1,82 @@
+COPYING
+MANIFEST.in
+README.md
+THANKS
+nsscache
+nsscache.1
+nsscache.conf
+nsscache.conf.5
+nsscache.cron
+nsscache.spec
+runtests.py
+setup.cfg
+setup.py
+examples/authorized-keys-command.py
+examples/authorized-keys-command.sh
+nss_cache/__init__.py
+nss_cache/app.py
+nss_cache/app_test.py
+nss_cache/command.py
+nss_cache/command_test.py
+nss_cache/config.py
+nss_cache/config_test.py
+nss_cache/error.py
+nss_cache/error_test.py
+nss_cache/lock.py
+nss_cache/lock_test.py
+nss_cache/nss.py
+nss_cache/nss_test.py
+nss_cache/caches/__init__.py
+nss_cache/caches/cache_factory.py
+nss_cache/caches/cache_factory_test.py
+nss_cache/caches/caches.py
+nss_cache/caches/caches_test.py
+nss_cache/caches/files.py
+nss_cache/caches/files_test.py
+nss_cache/caches/nssdb.py
+nss_cache/caches/nssdb_test.py
+nss_cache/maps/__init__.py
+nss_cache/maps/automount.py
+nss_cache/maps/automount_test.py
+nss_cache/maps/group.py
+nss_cache/maps/group_test.py
+nss_cache/maps/maps.py
+nss_cache/maps/maps_test.py
+nss_cache/maps/netgroup.py
+nss_cache/maps/netgroup_test.py
+nss_cache/maps/passwd.py
+nss_cache/maps/passwd_test.py
+nss_cache/maps/shadow.py
+nss_cache/maps/shadow_test.py
+nss_cache/maps/sshkey.py
+nss_cache/sources/__init__.py
+nss_cache/sources/consulsource.py
+nss_cache/sources/consulsource_test.py
+nss_cache/sources/httpsource.py
+nss_cache/sources/httpsource_test.py
+nss_cache/sources/ldapsource.py
+nss_cache/sources/ldapsource_test.py
+nss_cache/sources/s3source.py
+nss_cache/sources/s3source_test.py
+nss_cache/sources/source.py
+nss_cache/sources/source_factory.py
+nss_cache/sources/source_factory_test.py
+nss_cache/sources/source_test.py
+nss_cache/update/__init__.py
+nss_cache/update/files_updater.py
+nss_cache/update/files_updater_test.py
+nss_cache/update/map_updater.py
+nss_cache/update/map_updater_test.py
+nss_cache/update/updater.py
+nss_cache/update/updater_test.py
+nss_cache/util/__init__.py
+nss_cache/util/curl.py
+nss_cache/util/file_formats.py
+nss_cache/util/file_formats_test.py
+nss_cache/util/timestamps.py
+nss_cache/util/timestamps_test.py
+nsscache.egg-info/PKG-INFO
+nsscache.egg-info/SOURCES.txt
+nsscache.egg-info/dependency_links.txt
+nsscache.egg-info/requires.txt
+nsscache.egg-info/top_level.txt
\ No newline at end of file
--- /dev/null
+++ nsscache-0.38/nsscache.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
--- /dev/null
+++ nsscache-0.38/nsscache.egg-info/requires.txt
@@ -0,0 +1,15 @@
+
+[bdb]
+bsddb3
+
+[consul]
+pycurl
+
+[http]
+pycurl
+
+[ldap]
+python-ldap
+
+[s3]
+boto3
--- /dev/null
+++ nsscache-0.38/nsscache.egg-info/top_level.txt
@@ -0,0 +1 @@
+nss_cache
