It adds a condition that can insure access log is only written one time