write a timestamp as part of log prefix