clients: download api, logger
Motivation
----------

STAGEIN FAILED: Get error: Staging input file failed: lfn=EVNT.04972714._000032.pool.root.1, error=stageIn with API faied: Logger instance has no attribute 'getChild'

Modification
------------

can be realted to:
https://github.com/dsoprea/GDriveFS/issues/104


diff --git a/lib/rucio/client/downloadclient.py b/lib/rucio/client/downloadclient.py
index 78a67eb66..02d94c46e 100644
--- a/lib/rucio/client/downloadclient.py
+++ b/lib/rucio/client/downloadclient.py
@@ -50,8 +50,8 @@ class DownloadClient:
         :param logger: logging.Logger object to use for downloads. If None nothing will be logged.
         """
         if not logger:
-            logger = logging.getLogger(__name__).getChild('null')
-            logger.addHandler(logging.NullHandler())
+            logger = logging.getLogger('%s.null' % __name__)
+            logger.disabled = True
 
         self.logger = logger
         self.is_human_readable = True
diff --git a/lib/rucio/client/uploadclient.py b/lib/rucio/client/uploadclient.py
index 0d4fad6fe..5527ebf82 100644
--- a/lib/rucio/client/uploadclient.py
+++ b/lib/rucio/client/uploadclient.py
@@ -49,8 +49,8 @@ class UploadClient:
         :param logger:      - logging.Logger object to use for uploads. If None nothing will be logged.
         """
         if not logger:
-            logger = logging.getLogger(__name__).getChild('null')
-            logger.addHandler(logging.NullHandler())
+            logger = logging.getLogger('%s.null' % __name__)
+            logger.disabled = True
 
         self.logger = logger
         self.client = _client if _client else Client()
['lib/rucio/client/uploadclient.py', 'lib/rucio/client/downloadclient.py']