Practical: Validating log file entries. If more than 2 &#039;WARNING&#039; entries exist, they are ignored, but &#039;ERROR&#039; entries are still processed.