Now writing log file, and exposing it on /log