lib/td/logger/td_logger.rb in td-logger-0.3.18 vs lib/td/logger/td_logger.rb in td-logger-0.3.19
- old
+ new
@@ -35,10 +35,10 @@
@logger.level = ::Logger::DEBUG
else
@logger.level = ::Logger::INFO
end
- @client = TreasureData::Client.new(apikey)
+ @client = TreasureData::Client.new(apikey, :ssl => !!options[:use_ssl])
@mutex = Mutex.new
@cond = ConditionVariable.new
@map = {} # (db,table) => buffer:String
@queue = []