Answers.Body: <p>The main use of those logs files is to help diagnose problems in CiviCRM.  You're unlikely to want to review problems from a few years ago so you can delete them.  The one without the datestamp is the current one and that should have the most recent timestamp. </p>
  
  <p>However 9GB is a lot of log output!  It would be worth looking at the recent ones to see if there are current issues that need attention. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-17T11:47:59.063Z
Answers.Text: Thank you Aidan.   They only range from 2014-2015, nothing in the last 2 years though this is good to know are more for troubleshooting use.
Answers.UserDisplayName: Jan Geep
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-17T11:12:41.857Z
Answers.LastActivityDate: 2017-05-17T11:12:41.857Z
Answers.UserDisplayName: Aidan
Body: <p>I am looking at our CiviCRM install on disk and I notice that  <code>files/civicrm/ConfigAndLog</code> is taking up nearly 9GB with all files from 2014-2015.</p>
  
  <p>Looking at them they are just plain text files which sort of look like query results.  Most are in the format <code>CiviCRM.&lt;32character_string&gt;.log.YYYYMMDDhhmm</code>  some are just <code>CiviCRM.&lt;32character_string&gt;.log</code></p>
  
  <p>Is it safe to <code>rm</code> these files or do they serve a purpose?</p>
  
Tags: <logs>
Title: Are contents of ConfigAndLog directory safe to delete?
ThreadText: # Are contents of ConfigAndLog directory safe to delete?
  
  (Asked by: username_0 on 2017-05-17)
  
  I am looking at our CiviCRM install on disk and I notice that `files/civicrm/ConfigAndLog` is taking up nearly 9GB with all files from 2014-2015.
  
  Looking at them they are just plain text files which sort of look like query results. Most are in the format `CiviCRM.<32character_string>.log.YYYYMMDDhhmm` some are just `CiviCRM.<32character_string>.log`
  
  Is it safe to `rm` these files or do they serve a purpose?
  
  **Tags:** logs
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-05-17. Score: 7
  
  The main use of those logs files is to help diagnose problems in CiviCRM. You're unlikely to want to review problems from a few years ago so you can delete them. The one without the datestamp is the current one and that should have the most recent timestamp.
  
  However 9GB is a lot of log output! It would be worth looking at the recent ones to see if there are current issues that need attention.
  
  > **Comments:**
  > **username_0**: Thank you username_1.   They only range from 2014-2015, nothing in the last 2 years though this is good to know are more for troubleshooting use.  
  
  ---
  
  