PowerShellHost - Log files

avatar

Hi,
In the ProgramData\PowerShellUniversal\Logs\PowerShellHost folder, 0kb empty text files continually seem to generate on all my PSU servers, to the point where I have thousands, but it doesnt seem to serve any purpose.
Is this a bug?

I'm routinely going and clearing down the folders but wanted to know why there's so many generating empty files?

921d8d1a-a661-4fa8-a047-c4fe03ce91e5.png

All Comments (2)

avatar

I'm seeing the same behavior, most are 0 bytes (empty) and some have some logging at 2 kb.

avatar

@insomniacc This just seems like a bug. We use Serilog and I think it just creates a log file once the file sync is created so we probably need to prevent that from happening. I've opened an issue.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

Ends in 11 days