mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-13 11:17:49 +00:00
Log disconnection when a console session is closed
This commit is contained in:
parent
3e6d405abf
commit
e2395be10a
@ -122,6 +122,9 @@ class _ConsoleHandler(object):
|
||||
def close(self):
|
||||
self._send_rcpts({'deleting': True})
|
||||
if self._console:
|
||||
self.logger.log(
|
||||
logdata='console disconnected', ltype=log.DataTypes.event,
|
||||
event=log.Events.consoledisconnect)
|
||||
self._console.close()
|
||||
self._console = None
|
||||
if self.connectionthread:
|
||||
|
Loading…
x
Reference in New Issue
Block a user