Remove superflous output of endline
adapt tool to output logs with new mechanism
enable logging for deamon