Code drop two: improving logging to file and timestamping