Some users may experience issues accessing the case portal. For more information, please click here.

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

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 16 Champion
Level 16 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

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

View solution in original post

This thread has been automatically locked due to inactivity.

To continue the discussion, please start a new thread.

2 Replies
mfranz
Level 16 Champion
Level 16 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

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

Thank you!

0 Kudos