From a159bb4a89705c08b235b08ff1ac3cfbdd29b016 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 27 Jul 2006 22:00:42 +0000 Subject: We don't want to close our initial logger, since that closes $stderr --- lib/rbot/ircbot.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/rbot') 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'] -- cgit v1.2.3