mirror of
https://github.com/openkmip/pykmip
synced 2025-12-05 23:53:19 +00:00
Linking the loggers for the different KmipServer components
This change renames the loggers for different KmipServer components, ensuring that all server logs are processed by the same kmip.server logger.
This commit is contained in:
@@ -51,10 +51,9 @@ class KmipSession(threading.Thread):
|
||||
kwargs={}
|
||||
)
|
||||
|
||||
if name is None:
|
||||
name = self.name
|
||||
|
||||
self._logger = logging.getLogger('.'.join((__name__, name)))
|
||||
self._logger = logging.getLogger(
|
||||
'kmip.server.session.{0}'.format(self.name)
|
||||
)
|
||||
|
||||
self._engine = engine
|
||||
self._connection = connection
|
||||
|
||||
Reference in New Issue
Block a user