error log working again.
Error Log structure refined