Top Level Namespace

Includes:
Fluent::Configurable

Defined Under Namespace

Modules: Fluent Classes: CalyptiaConfigGenerator

Instance Method Summary collapse

Instance Method Details

#init_logObject



15
16
17
18
19
20
21
# File 'lib/fluent/plugin/calyptia_config_dumper.rb', line 15

def init_log
  dl_opts = {}
  dl_opts[:log_level] = ServerEngine::DaemonLogger::WARN
  @sio = StringIO.new('', 'r+')
  logger = ServerEngine::DaemonLogger.new(@sio, dl_opts)
  $log = Fluent::Log.new(logger)
end