A history of requests issued to an application executing in a production environment is stored. The application includes an event logging option set to record a first level of detail in a first log file. While the application is executing in the production environment, a determination is made that the application may have a bug. A backup of the application is restored to a test environment. The event logging option in the restored application is changed to record a second level of detail, greater than the first level of detail, in a second log file. The history of requests is replayed against the restored application having the changed event logging option to generate the second log file.