Commit e8aa8968 authored by mathieui's avatar mathieui

Fix #3223 (close privatetab logfiles properly)

It wasn’t applying the transformation jid→filename used in log_message
parent 24a10df1
......@@ -77,6 +77,7 @@ class Logger(object):
pass
def close(self, jid):
jid = str(jid).replace('/', '\\')
if jid in self._fds:
self._fds[jid].close()
log.debug('Log file for %s closed.', jid)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment