summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logger.py2
-rw-r--r--src/tabs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.py b/src/logger.py
index 946c2bab..c4140347 100644
--- a/src/logger.py
+++ b/src/logger.py
@@ -63,7 +63,7 @@ class Logger(object):
except IOError:
return None
- def get_logs(self, jid, nb=200):
+ def get_logs(self, jid, nb=10):
"""
Get the log history for the given jid
"""
diff --git a/src/tabs.py b/src/tabs.py
index 33f91c57..b8588bb2 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -435,7 +435,7 @@ class ChatTab(Tab):
self.update_keys()
# Get the logs
- log_nb = config.get('load_log', 200)
+ log_nb = config.get('load_log', 10)
if isinstance(self, PrivateTab):
logs = logger.get_logs(safeJID(self.get_name()).full.replace('/', '\\'), log_nb)