Having weird issues running sinatra based web server inside dockers.
:set logging, false
a run from console doesn’t show any logs
from docked I see these:
[2019-09-12 23:36:51] INFO WEBrick 1.3.1 [2019-09-12 23:36:51] INFO ruby 2.3.7 (2018-03-28) [x86_64-linux-musl] == Sinatra (v2.0.1) has taken the stage on 8081 for production with backup from WEBrick [2019-09-12 23:36:51] INFO WEBrick::HTTPServer#start: pid=1 port=8081 192.168.0.200 - - [12/Sep/2019:23:36:53 UTC] "GET /status HTTP/1.1" 200 20 - -> /api/status
Pretty much everything, even redirecting logs to a file
web_server = Sinatra.new do set :environment, :production set :public_folder, 'public' set :bind, '0.0.0.0' set :port, '8081' set :logging, false end