From 09f1f09021da7032ee4911e4bfbbaa0163cb7ba8 Mon Sep 17 00:00:00 2001 From: Jason Vasquez Date: Thu, 20 Nov 2014 12:34:42 -0500 Subject: [PATCH] Log room messages at the debug level It looks like in this singular case, room logs are logged at the info level. In the default hubot configuration, channel logs are ending up in the hubot log, which may not be desired from a privacy standpoint unless explicitly enabled by changing the log level. --- src/irc.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc.coffee b/src/irc.coffee index b433ca4..dbb5632 100644 --- a/src/irc.coffee +++ b/src/irc.coffee @@ -248,7 +248,7 @@ class IrcBot extends Adapter user = self.createUser to, from if user.room - logger.info "#{to} <#{from}> #{message}" + logger.debug "#{to} <#{from}> #{message}" else unless message.indexOf(to) == 0 message = "#{to}: #{message}"