summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logger.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logger.py b/src/logger.py
index 3fced6c1..aee7812f 100644
--- a/src/logger.py
+++ b/src/logger.py
@@ -231,6 +231,7 @@ class Logger(object):
"""
if config.get_by_tabname('use_log', 'false', jid) != 'true':
return True
+ self.check_and_create_log_dir('', open_fd=False)
if not self.roster_logfile:
try:
self.roster_logfile = open(os.path.join(log_dir, 'roster.log'), 'a')