Identify the two situations in which you use the alert log file in your database to check the details.