Skip to content

Commit

Permalink
ログ出力の標準レベルを info に設定した
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaochaocha3 committed Mar 7, 2015
1 parent 06f507d commit 38c2fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rgrb/exec/irc_bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def new_bot
c.plugins.options = @plugin_options
end

bot.loggers.level = @debug ? :debug : :warn
bot.loggers.level = @debug ? :debug : :info

bot
rescue => e
Expand Down Expand Up @@ -146,7 +146,7 @@ def new_opt_parser
opt.on(
'--debug',
'デバッグモード。ログを冗長にします。'
) do |debug|
) do
@debug = true
end
end
Expand Down

0 comments on commit 38c2fc5

Please sign in to comment.