lib/fluent/plugin/mongo_util.rb in fluent-plugin-mongo-0.7.1 vs lib/fluent/plugin/mongo_util.rb in fluent-plugin-mongo-0.7.2
- old
+ new
@@ -12,10 +12,10 @@
def authenticate(db)
unless @user.nil? || @password.nil?
begin
db.authenticate(@user, @password)
rescue Mongo::AuthenticationError => e
- $log.fatal e
+ log.fatal e
exit!
end
end
db