A text file that gets generated next to the installer when it runs, it will have the name of the installer with .log added on the end.
Installer: forge-{version}-installer.jar
Log: forge-{version}-installer.jar.log
Note: If Windows is hiding file extensions you will instead see:
Installer: forge-{version}-installer
Log: forge-{version}-installer.jar