[fabbione/kronosnet] 2d022f: logging: add concept of logfile and fix fprintf ou...