cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compliance logging retention setting?

Good morning!

I was wondering if there was a configuration setting to manage the number of log files that are retained in the C:\Program Data\Flexera Software\Compliance\Logging\ folders.

It sure would be nice to only keep XXX number of days instead of it being "forever". I really hope I just missed a setting someplace!

I'm running 2019 R2 on-prem. 

Thanks for any help!

Jason

(1) Solution
mfranz
By Level 17 Champion
Level 17 Champion

Hi Jason,

for some of these folders, the config file has a setting:

2020-06-09_13h12_28.png

Or try an "external" approach, using some script, e.g. (cmd):

Forfiles /P "C:\ProgramData\Flexera Software\Compliance\Logging" /S /M *.log2* /D -30 /C "cmd /c del /q @path"

A line of PowerShell should work as well.

Best regards,

Markward

View solution in original post

(2) Replies
mfranz
By Level 17 Champion
Level 17 Champion

Hi Jason,

for some of these folders, the config file has a setting:

2020-06-09_13h12_28.png

Or try an "external" approach, using some script, e.g. (cmd):

Forfiles /P "C:\ProgramData\Flexera Software\Compliance\Logging" /S /M *.log2* /D -30 /C "cmd /c del /q @path"

A line of PowerShell should work as well.

Best regards,

Markward