Can PSM for SSH log files be deleted automatically?
85
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:58 PM
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.?
Environment
11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;14.2
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.