Forum Discussion
SebasL
May 11, 2020Copper Contributor
Unable to set Custom logs with log path configure to c:\users\%username%\...
I'm trying to set a Windows Custom Log with a file path in c:\users\%username%\ but the Agent doesn't seem to recognize the %username% Windows variable.
Is there any way to set the custom path using Windows 10 Environment variables ?
My path are currently defined to :
C:\Users\%username%\AppData\Roaming\ICAClient\wfcwin32.log
File type: ANSI
- CliveWatson
Microsoft
Have you tried "*" instead of %username% - depending on if you have other folder in the location?
e.g.
C:\Users\*\AppData\- SebasLCopper Contributor
I'm pretty sure that MMA does not collect my log on %username% path because the process MonitoringHost.exe is running as SYSTEM.
The wildcard in the path «should» work but Azure won't let me do it.
Error: Windows paths cannot contain "\ /: *?"> <| "