add ability to set date on logging