switching from global var to sinatra setting var
using logging putput