summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.py b/src/logger.py
index 01856e7b..00f54f6e 100644
--- a/src/logger.py
+++ b/src/logger.py
@@ -98,7 +98,7 @@ class Logger(object):
fd = open(os.path.join(log_dir, jid), 'rb')
except:
log.error('Unable to open the log file (%s)',
- os.path.join(log_dir, room),
+ os.path.join(log_dir, jid),
exc_info=True)
return
if not fd: