From 8c666c5d1172310a693bf004cf33063f516cba28 Mon Sep 17 00:00:00 2001 From: Matthias Hecker Date: Sat, 13 Jun 2015 19:11:55 +0200 Subject: [PATCH] logging, print >=warning to stderr --- lib/rbot/ircbot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2