Answers.Body: <p>I figured this out by looking at my civicrm settings file - in which <code>CIVICRM_TEMPLATE_COMPILEDIR</code> was defined to be in <code>/home/acivior1/public_html/./private/civicrm/templates_c</code>.  This was because the Drupal private file system path was defined as <code>./private</code> so this is where Civi put these files when installing.  However I notice just above this definition the comments set out below. It appears that the install ignored it?</p>
  <blockquote>
  <p>** The default excludes node_modules (can be huge), various CiviCRM
  dirs that are unlikely to have anything we need to scan inside, and
  (what could be your) Drupal's private file storage area.</p>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-11-17T19:16:40.403Z
Answers.LastActivityDate: 2021-11-18T09:53:41.637Z
Answers.LastEditDate: 2021-11-18T09:53:41.637Z
Answers.UserDisplayName: Andy Clark
Body: <p>I've recreated my 5.35.2 test system (several times!) on Drupal 7, using the default directories.  All is working OK but there isn't a ConfigAndLog or a Templates_C folder. The 'View Log' extension is working, but I can't see these folders anywhere.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-17T18:33:11.353Z
Comments.Text: Sounds to me like they exist but your're looking in the wrong place!  If you go to Administer > System Settings > Directories and click the help icon in the top message box, you should get a pop-up with the path variables, including [civicrm.files].  Are your missing files under there?
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-17T18:44:44.490Z
Comments.Text: [civicrm.files] is exactly where I'm looking.  You are correct, I was looking in the wrong place - they are in /home/acivior1/public_html/./private/civicrm I guess because in Drupal the 'Private file system path' was defined as './private'   I figured this from looking at the civicrm.settings files.
Comments.UserDisplayName: Andy Clark
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-17T18:46:01.610Z
Comments.Text: Ah, good you've found them!
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-17T18:48:41.427Z
Comments.Text: I think this occurred because I've reloaded the test system several time, without recreating Drupal 7.  Civi must be looking in this Drupal field when it installs.  I'll know better next time!  This must rank as one of the dumbest questions on here...
Comments.UserDisplayName: Andy Clark
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-17T18:55:30.400Z
Comments.Text: Probably worth creating an answer explaining what you looked at to figure out where they are,
Comments.UserDisplayName: Aidan
Tags: <drupal><configandlog>
Title: Why no ConfigAndLog or Templates_C folders on my test system
ThreadText: # Why no ConfigAndLog or Templates_C folders on my test system
  
  (Asked by: username_0 on 2021-11-17)
  
  I've recreated my 5.35.2 test system (several times!) on Drupal 7, using the default directories. All is working OK but there isn't a ConfigAndLog or a Templates\_C folder. The 'View Log' extension is working, but I can't see these folders anywhere.
  
  **Tags:** drupal, configandlog
  
  > **Comments:**
  > **username_1**: Sounds to me like they exist but your're looking in the wrong place!  If you go to Administer > System Settings > Directories and click the help icon in the top message box, you should get a pop-up with the path variables, including [civicrm.files].  Are your missing files under there?  
  > **username_0**: [civicrm.files] is exactly where I'm looking.  You are correct, I was looking in the wrong place - they are in /home/acivior1/public_html/./private/civicrm I guess because in Drupal the 'Private file system path' was defined as './private'   I figured this from looking at the civicrm.settings files.  
  > **username_1**: Ah, good you've found them!  
  > **username_0**: I think this occurred because I've reloaded the test system several time, without recreating Drupal 7.  Civi must be looking in this Drupal field when it installs.  I'll know better next time!  This must rank as one of the dumbest questions on here...  
  > **username_1**: Probably worth creating an answer explaining what you looked at to figure out where they are,  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-11-17. Score: 4
  
  I figured this out by looking at my civicrm settings file - in which `CIVICRM_TEMPLATE_COMPILEDIR` was defined to be in `/home/acivior1/public_html/./private/civicrm/templates_c`. This was because the Drupal private file system path was defined as `./private` so this is where Civi put these files when installing. However I notice just above this definition the comments set out below. It appears that the install ignored it?
  
  > \*\* The default excludes node\_modules (can be huge), various CiviCRM
  > dirs that are unlikely to have anything we need to scan inside, and
  > (what could be your) Drupal's private file storage area.
  
  
  ---
  
  