{"id":6244,"date":"2018-04-07T09:26:25","date_gmt":"2018-04-07T14:26:25","guid":{"rendered":"http:\/\/www.carnaghan.com\/?post_type=epkb_post_type_1&p=6244"},"modified":"2018-04-07T09:28:15","modified_gmt":"2018-04-07T14:28:15","slug":"how-to-solve-you-have-old-files-in-your-logwatch-tmpdir-var-cache-logwatch","status":"publish","type":"epkb_post_type_1","link":"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-solve-you-have-old-files-in-your-logwatch-tmpdir-var-cache-logwatch\/","title":{"rendered":"How to solve You have old files in your logwatch tmpdir (\/var\/cache\/logwatch)"},"content":{"rendered":"
rm -rf \/var\/cache\/logwatch\/*<\/pre>\n<\/div>\n<\/div>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"Edit\u00a0\/etc\/logwatch\/conf\/logwatch.conf\u00a0and override the\u00a0TmpDir\u00a0value by changing the default temp directory to\u00a0\/tmp\u00a0from\u00a0\/var\/cache\/logwatch \/tmp\u00a0automatically gets\u00a0trimmed\u00a0by most Linux distributions meaning that there won’t be a built up of old log files. Now delete the old files in\u00a0\/var\/cache\/logwatch\u00a0using the command below: rm -rf \/var\/cache\/logwatch\/*<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"epkb_post_type_1_category":[4412],"epkb_post_type_1_tag":[],"yoast_head":"\n
How to solve You have old files in your logwatch tmpdir (\/var\/cache\/logwatch) - Ian Carnaghan<\/title>\n\n\n\n\n\n\n\n\n\n\n\n