Improved logging module format to include timestamp during events