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.
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.