Show libtorrent performance warnings in the debug log

This commit is contained in:
Andrew Resch 2009-05-28 23:55:34 +00:00
parent 63f1874ae8
commit ea829d0826
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ class AlertManager(component.Component):
lt.alert.category_t.storage_notification |
lt.alert.category_t.tracker_notification |
lt.alert.category_t.status_notification |
lt.alert.category_t.ip_block_notification)
lt.alert.category_t.ip_block_notification|
lt.alert.category_t.performance_warning)
# handlers is a dictionary of lists {"alert_type": [handler1,h2,..]}
self.handlers = {}