diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-27 22:00:42 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-27 22:00:42 +0000 |
commit | a159bb4a89705c08b235b08ff1ac3cfbdd29b016 (patch) | |
tree | 333e8bdb2f0e9632fc4d256d3fc0f559dd458189 /lib/rbot/ircbot.rb | |
parent | df333b041363b44df3d4cc667d90a75d2b76f6c3 (diff) |
We don't want to close our initial logger, since that closes $stderr
Diffstat (limited to 'lib/rbot/ircbot.rb')
-rw-r--r-- | lib/rbot/ircbot.rb | 1 |
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'] |