mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-31 12:04:24 +01:00
add duration idea
This commit is contained in:
@@ -169,6 +169,7 @@ class LoggingServerProtocol(insults.ServerProtocol):
|
||||
self.stdinlog_open = False
|
||||
|
||||
if self.ttylog_open:
|
||||
# TODO: Add session duration to this entry
|
||||
log.msg(eventid='cowrie.log.closed',
|
||||
format='Closing TTY Log: %(ttylog)s',
|
||||
ttylog=self.ttylog_file,
|
||||
|
||||
Reference in New Issue
Block a user