Class: Fluent::MongoBackupOutput

Inherits:
CopyOutput
  • Object
show all
Defined in:
lib/fluent/plugin/out_mongo_backup.rb

Defined Under Namespace

Classes: MongoOutputForBackup

Instance Method Summary collapse

Instance Method Details

#configure(conf) ⇒ Object



18
19
20
21
22
23
24
# File 'lib/fluent/plugin/out_mongo_backup.rb', line 18

def configure(conf)
  super

  backup = MongoOutputForBackup.new
  backup.configure(conf.merge({'capped' => true}))
  @outputs.unshift(backup)
end