Skip to content

Commit

Permalink
Log room messages at the debug level
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Jason Vasquez committed Nov 20, 2014
1 parent 17c5d58 commit 09f1f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 09f1f09

Please sign in to comment.