better logging, default flask debug to false
log file tweaks