{"id":8412,"date":"2015-02-13T17:24:00","date_gmt":"2015-02-13T09:24:00","guid":{"rendered":"http:\/\/w3c.weblink.com.tw\/symantec\/?p=8412"},"modified":"2015-02-26T09:00:16","modified_gmt":"2015-02-26T01:00:16","slug":"%e6%9c%89%e9%97%9c-pgp-logs-%e7%9a%84-purge","status":"publish","type":"post","link":"https:\/\/w3c.weblink.com.tw\/symantec\/?p=8412","title":{"rendered":"\u6709\u95dc PGP logs \u7684 purge"},"content":{"rendered":"<p><span style=\"color: #0000ff;\">1.\u00a0 How long will the Symantec Encryption Management Server purge the logs?<br \/>\n<\/span><span style=\"color: #ff0000;\">The SEMS purge the logs in 1months time.<\/span><\/p>\n<p><span style=\"color: #0000ff;\">2. Where can I set the purge interval and find the logs percentage of hard disk usage?<br \/>\n<\/span>You can set the purge time of the logs in the <span style=\"color: #ff0000;\">crontab<\/span>.<\/p>\n<hr \/>\n<p>In <span style=\"color: #ff0000;\">\/etc\/crontab<\/span> edit the line<\/p>\n<p>0 0 * * * root \/usr\/bin\/pgpdellog.pl &#8212;<span style=\"color: #ff0000;\">days=30<\/span> \/var\/log\/ovid &gt;&amp; \/dev\/null<\/p>\n<p>and either change it to the desired value <span style=\"color: #ff0000;\">(&#8211;days=XX)<\/span><\/p>\n<p>or comment the entry completely if the logs may not be deleted.<br \/>\n(by <span style=\"color: #ff0000;\">adding a # in front)<\/span><\/p>\n<p>Depending on the requirements another solution might be to retain regular backups (which also contain the logfiles).<\/p>\n<hr \/>\n<p><span style=\"color: #0000ff;\">3. Location of the logs are available at 2 places1<\/span><\/p>\n<p>(1) \/var\/log\/ &#8211; <span style=\"color: #ff0000;\">General system logs<\/span><br \/>\n(2) \/var\/log\/ovid\/ &#8211; <span style=\"color: #ff0000;\">pgp process logs<\/span><\/p>\n<p><span style=\"color: #0000ff;\">4.If you want to list the size of the folder size please use<br \/>\n<\/span><span style=\"color: #ff0000;\">du -sh* or du -sh \/var\/log\/ovid<\/span><\/p>\n<p><span style=\"color: #ff0000;\">You can use winscp to copy the logs from the linux machine to the windows and then delete the logs manually from the specifc location as mentioned above.<br \/>\nPlease do not delete the parent location but only the logs inside the parent folder<\/span>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u00a0 How long will the Symantec Encryption Management Se &hellip; <a href=\"https:\/\/w3c.weblink.com.tw\/symantec\/?p=8412\" class=\"more-link\">\u95b1\u8b80\u5168\u6587 <span class=\"screen-reader-text\">\u6709\u95dc PGP logs \u7684 purge<\/span><\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[93],"tags":[],"class_list":["post-8412","post","type-post","status-publish","format-standard","hentry","category-pgp-"],"_links":{"self":[{"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=\/wp\/v2\/posts\/8412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8412"}],"version-history":[{"count":3,"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=\/wp\/v2\/posts\/8412\/revisions"}],"predecessor-version":[{"id":8416,"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=\/wp\/v2\/posts\/8412\/revisions\/8416"}],"wp:attachment":[{"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/w3c.weblink.com.tw\/symantec\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}