Revision 9d460533
Added by Lukas Zapletal over 5 years ago
lib/launcher.rb | ||
---|---|---|
require 'proxy/sd_notify'
|
||
require 'proxy/settings'
|
||
require 'proxy/signal_handler'
|
||
require 'proxy/log_buffer/trace_decorator'
|
||
require 'thread'
|
||
|
||
module Proxy
|
||
... | ... | |
:server => :webrick,
|
||
:DoNotListen => true,
|
||
:Port => http_port, # only being used to correctly log http port being used
|
||
:Logger => ::Proxy::LogBuffer::Decorator.instance,
|
||
:Logger => ::Proxy::LogBuffer::TraceDecorator.instance,
|
||
:AccessLog => [],
|
||
:ServerSoftware => "foreman-proxy/#{Proxy::VERSION}",
|
||
:daemonize => false
|
||
}
|
Also available in: Unified diff
Fixes #25100 - Ruby logging stack replaced with logging gem