introduced start and stop sequence to logging