Write timestamps to logfiles.