I am running a sinatra app through RACK.
To which file does the activity get logged ? Also how can I set the log file path ?
The line of LOGGER = Logger.new("sinatra.log")
in @include's answer above did not work for me.
However, an alternative listed here (along with some helpful explanations) worked for me, tested with ruby 2.5.3 and sinatra 2.0.1.
For additional info, that alternative is based on the structure presented in a Sinatra recipe.