Log before check