Script to verify error logging