Add logging, to file and stdout, #2