You learn something new every day?
I was working on an issue with appdomain restarts caused by page re-compilations because aspx pages were created and modified from the code. You can get lifetime event information such as shutdown reasons, compilation information etc. in the eventlog by enabling Application Life Time Events in your web.config (See this post for more info about this and application restarts in general)
We were seeing a lot of the following messages
EventID: 1305 Event code: 1001 Event message: Application is starting
EventID: 1305 Event code: 1002 Event message: Application is shutting down. Reason: Maximum number of recompilations was reached
...
Go to the complete details ...