enable logging and add timestamps to messages