lib/openvpn-status-web.rb in openvpn-status-web-3.0.0 vs lib/openvpn-status-web.rb in openvpn-status-web-3.0.1
- old
+ new
@@ -105,10 +105,10 @@
config = YAML.safe_load(File.read(config_file, mode: 'r'))
if config['logfile']
OpenVPNStatusWeb.logger = Logger.new(config['logfile'])
else
- OpenVPNStatusWeb.logger = Logger.new(STDOUT)
+ OpenVPNStatusWeb.logger = Logger.new($stdout)
end
OpenVPNStatusWeb.logger.progname = 'openvpn-status-web'
OpenVPNStatusWeb.logger.formatter = LogFormatter.new