<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Can PSM for SSH log files be deleted automatically? in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/can-psm-for-ssh-log-files-be-deleted-automatically/ta-p/1429635</link>
    <description>&lt;H3&gt;Question&lt;/H3&gt;
The log files of PSM for SSH have been output in following folder,&lt;BR /&gt;/var/opt/CARKpsmp/logs/components&lt;BR /&gt;&lt;BR /&gt;And log files tend to be bloated. Especially when debug mode is enabled.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;So we would like to do something about the log bloat.&lt;BR /&gt;In this case, is it possible following solution?&lt;BR /&gt;&lt;BR /&gt;- Set expiration date for log size output by PSMforSSH&lt;BR /&gt;- Set the maximum log capacity&lt;BR /&gt;&lt;BR /&gt;Or if we delete the old log size, will it affect the operation of PSM for SSH and viewing of Monitring, etc.?&lt;BR /&gt;&amp;nbsp;

&lt;H3&gt;Answer&lt;/H3&gt;
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.</description>
    <pubDate>Tue, 21 Oct 2025 05:02:48 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-10-21T05:02:48Z</dc:date>
    <item>
      <title>Can PSM for SSH log files be deleted automatically?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/can-psm-for-ssh-log-files-be-deleted-automatically/ta-p/1429635</link>
      <description>&lt;H3&gt;Question&lt;/H3&gt;
The log files of PSM for SSH have been output in following folder,&lt;BR /&gt;/var/opt/CARKpsmp/logs/components&lt;BR /&gt;&lt;BR /&gt;And log files tend to be bloated. Especially when debug mode is enabled.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;So we would like to do something about the log bloat.&lt;BR /&gt;In this case, is it possible following solution?&lt;BR /&gt;&lt;BR /&gt;- Set expiration date for log size output by PSMforSSH&lt;BR /&gt;- Set the maximum log capacity&lt;BR /&gt;&lt;BR /&gt;Or if we delete the old log size, will it affect the operation of PSM for SSH and viewing of Monitring, etc.?&lt;BR /&gt;&amp;nbsp;

&lt;H3&gt;Answer&lt;/H3&gt;
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.</description>
      <pubDate>Tue, 21 Oct 2025 05:02:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/can-psm-for-ssh-log-files-be-deleted-automatically/ta-p/1429635</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-10-21T05:02:48Z</dc:date>
    </item>
  </channel>
</rss>

