By default, the PowerShell log file is located at \AppData\Local\Microsoft\Office365\Powershell. When you execute MSOnline cmdlets in the Exchange service, the log file increases in size.
Workaround: To prevent the logs from getting included in the file, restrict the rights to the directory containing the log file.