Body: <p>On my acceptance environment the Civicrm-log is not created. When I use Log Viewer, it cannot find it obviously. But the error message describes a specific file:</p>
  <blockquote>
  <p>Unable to read entries from logfile at
  /home/xxx/domains/xxx/private_html/sites/default/files/civicrm/ConfigAndLog/CiviCRM.3e4f19629d0809162da910db.log</p>
  </blockquote>
  <p>I have checked file permissions and they seem to be okay. So the file can be created.</p>
  <p>Two questions:</p>
  <ol>
  <li>How can I solve the problem that the log file is not created?</li>
  <li>How does log viewer know the (non-existent) log file?</li>
  </ol>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-10T19:10:52.683Z
Comments.Text: When you say the permissions seem to be okay, can you be more explicit? The log file will be written by the web server user (often www-data or httpd).
Comments.UserDisplayName: kapn
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-11T10:56:34.397Z
Comments.Text: Thanks for your reply. In my case it is 'access' (DA/CustomBuild). I just ran a script to set all permissions right from a Drupal perspective. Now the log is created. So you were right that something was not correct.
Comments.UserDisplayName: Webmaster COVS
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-08-03T20:52:54.383Z
Comments.Text: Strange thing, but this problem has returned. I have set the permissions again, but to no avail.
Comments.UserDisplayName: Webmaster COVS
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-04T22:48:52.717Z
Comments.Text: I am now also having this error with no log files in the folder despite 775 permissions and Apache as the owner.  @webmaster-covs, were you able to able to resolve this?
Comments.UserDisplayName: Larry K.
Tags: <logs><logging><configandlog>
Title: Log not created, viewer cannot find it
ThreadText: # Log not created, viewer cannot find it
  
  (Asked by: username_0 on 2021-02-10)
  
  On my acceptance environment the Civicrm-log is not created. When I use Log Viewer, it cannot find it obviously. But the error message describes a specific file:
  
  > Unable to read entries from logfile at
  > /home/xxx/domains/xxx/private\_html/sites/default/files/civicrm/ConfigAndLog/CiviCRM.3e4f19629d0809162da910db.log
  
  I have checked file permissions and they seem to be okay. So the file can be created.
  
  Two questions:
  
  1. How can I solve the problem that the log file is not created?
  2. How does log viewer know the (non-existent) log file?
  
  **Tags:** logs, logging, configandlog
  
  > **Comments:**
  > **username_1**: When you say the permissions seem to be okay, can you be more explicit? The log file will be written by the web server user (often www-data or httpd).  
  > **username_0**: Thanks for your reply. In my case it is 'access' (DA/CustomBuild). I just ran a script to set all permissions right from a Drupal perspective. Now the log is created. So you were right that something was not correct.  
  > **username_0**: Strange thing, but this problem has returned. I have set the permissions again, but to no avail.  
  > **username_2**: I am now also having this error with no log files in the folder despite 775 permissions and Apache as the owner.  @username_0, were you able to able to resolve this?  
  
  ---
  
  ## 0 answers
  
  