summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorMatthias Hecker <apoc@geekosphere.org>2015-06-13 19:11:55 +0200
committerMatthias Hecker <apoc@geekosphere.org>2015-06-13 19:11:55 +0200
commit8c666c5d1172310a693bf004cf33063f516cba28 (patch)
tree6326b311c69ac56a265a7a5dccc6f7b24b16c952 /lib/rbot
parent1c761db92a830601c2d46c5a7a53f27dbe70c31a (diff)
logging, print >=warning to stderr
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/ircbot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index b972e4e2..eb158c63 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -64,7 +64,7 @@ def rawlog(level, message=nil, who_pos=1)
qmsg.push [level, l.chomp, who]
who = ' ' * who.size
}
- if level >= Logger::Severity::ERROR and not $daemonize
+ if level >= Logger::Severity::WARN and not $daemonize
qmsg.each do |l|
$logger_stderr.add(*l)
end