core: use of the new core.log module:
/!\ this is a massive refactoring and was largely automated, it probably did bring some bugs /!\
This commit is contained in:
parent
dc5c042fe7
commit
501bc92528
1 changed files with 707 additions and 941 deletions
|
|
@ -20,7 +20,8 @@
|
|||
from sat.core.i18n import _
|
||||
from sat.core.constants import Const as C
|
||||
from sat.core import exceptions
|
||||
from logging import info
|
||||
from sat.core.log import getLogger
|
||||
log = getLogger(__name__)
|
||||
from wokkel import disco, iwokkel
|
||||
from zope.interface import implements
|
||||
from twisted.words.protocols.jabber.jid import JID
|
||||
|
|
@ -91,7 +92,7 @@ class XEP_0085(object):
|
|||
}
|
||||
|
||||
def __init__(self, host):
|
||||
info(_("Chat State Notifications plugin initialization"))
|
||||
log.info(_("Chat State Notifications plugin initialization"))
|
||||
self.host = host
|
||||
|
||||
# parameter value is retrieved before each use
|
||||
|
|
|
|||
Loading…
Reference in a new issue