jaalstead
Level 6

Compliance logging retention setting?

Jump to solution

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
Level 15

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

Softline Group is Europe's leading independent expert in Software Asset Management.

View solution in original post

2 Replies
mfranz
Level 15

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

Softline Group is Europe's leading independent expert in Software Asset Management.

View solution in original post

Thank you!

0 Kudos