Can PSM for SSH log files be deleted automatically?

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PAM Self-Hosted Articles
1 min read
L0 Member
No ratings

Question

The log files of PSM for SSH have been output in following folder,
/var/opt/CARKpsmp/logs/components

And log files tend to be bloated. Especially when debug mode is enabled.
Also, when we checked this files, some logs are over a year old and do not appear to be rotated or discarded on a regular basis.

So we would like to do something about the log bloat.
In this case, is it possible following solution?

- Set expiration date for log size output by PSMforSSH
- Set the maximum log capacity

Or if we delete the old log size, will it affect the operation of PSM for SSH and viewing of Monitring, etc.?
 

Answer

PSMP does not have the function to delete old logs automatically. This should be done by manually. Or you can do it with CronJob as scheduled task.
Rate this article: