Generating a log for an msi installer

msiexec /i <path to msi file> /l*vx C:\SomeDirectory\SomeFilename.log