Changed logging format to include timestamp