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 u...
CliveWatson
May 18, 2020Former Employee
Have you tried "*" instead of %username% - depending on if you have other folder in the location?
e.g.
C:\Users\*\AppData\
e.g.
C:\Users\*\AppData\
- SebasLMay 19, 2020Copper 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 "\ /: *?"> <| "