diff options
Diffstat (limited to 'Tools/Scripts/webkitpy/common/net/irc/ircproxy.py')
-rw-r--r-- | Tools/Scripts/webkitpy/common/net/irc/ircproxy.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Tools/Scripts/webkitpy/common/net/irc/ircproxy.py b/Tools/Scripts/webkitpy/common/net/irc/ircproxy.py index 13348b4af..521f6f761 100644 --- a/Tools/Scripts/webkitpy/common/net/irc/ircproxy.py +++ b/Tools/Scripts/webkitpy/common/net/irc/ircproxy.py @@ -26,11 +26,13 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +import logging import threading from webkitpy.common.net.irc.ircbot import IRCBot from webkitpy.common.thread.threadedmessagequeue import ThreadedMessageQueue -from webkitpy.common.system.deprecated_logging import log + +_log = logging.getLogger(__name__) class _IRCThread(threading.Thread): @@ -48,7 +50,7 @@ class _IRCThread(threading.Thread): class IRCProxy(object): def __init__(self, irc_delegate, irc_bot=IRCBot): - log("Connecting to IRC") + _log.info("Connecting to IRC") self._message_queue = ThreadedMessageQueue() self._child_thread = _IRCThread(self._message_queue, irc_delegate, irc_bot) self._child_thread.start() @@ -57,6 +59,6 @@ class IRCProxy(object): self._message_queue.post(message) def disconnect(self): - log("Disconnecting from IRC...") + _log.info("Disconnecting from IRC...") self._message_queue.stop() self._child_thread.join() |