Unable to set Custom logs with log path configure to c:\users\%username%\...

Copper Contributor

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

 

2 Replies
Have you tried "*" instead of %username% - depending on if you have other folder in the location?
e.g.
C:\Users\*\AppData\

@CliveWatson 

 

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 "\ /: *?"> <| "

 

SebasL_0-1589882668401.png