Clean up logging

Remove debug logging.
Log in .cvs format for easy import int excel.
Log in time format instead of raw timestamp format.