summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-27 22:00:42 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-27 22:00:42 +0000
commita159bb4a89705c08b235b08ff1ac3cfbdd29b016 (patch)
tree333e8bdb2f0e9632fc4d256d3fc0f559dd458189
parentdf333b041363b44df3d4cc667d90a75d2b76f6c3 (diff)
We don't want to close our initial logger, since that closes $stderr
-rw-r--r--lib/rbot/ircbot.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index 5be3cc78..b673c673 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -297,7 +297,6 @@ class IrcBot
end
# Set the new logfile and loglevel. This must be done after the daemonizing
- $logger.close
$logger = Logger.new(@logfile, @config['log.keep'], @config['log.max_size']*1024*1024)
$logger.datetime_format= $dateformat
$logger.level = @config['log.level']