added date/time info when logging to a local file