[NEW] Enable error logging