Alexis Brignoni has written a script for parsing all the logs in the /private/var/installd/Library/Logs/MobileInstalation/.log. As the result, you’ll get “a currently installed apps report, a uninstalled apps report and historical reports for both types per app.” You can learn more about this tool and download it here.