Skip to main content

No access logs saved

Comments

6 comments

  • cPanelMichael
    Hello, It's possible you are noticing a change in the LogLevel configuration in Apache 2.4. You can view the "LogLevel" value in your Apache configuration file with a command such as:
    grep -i LogLevel /usr/local/apache/conf/httpd.conf
    You can change the LogLevel to 'info' instead of 'warn' in the httpd.conf and then restart Apache to see if this addresses the issue. If so, or if you want to maintain this change, you can preserve the changes by following the steps listed in the following document: > Service Configuration >> Apache Configuration >> Global Configuration" in cPanel 58. Thank you.
    0
  • InteractM
    I have changed LogLevel to 'info' but still logs were not saved to particular domlog. It looks like NGNIXcp has to changed something as I have disabled it and logs came to be written back and enabled it back then it stopped to log.
    0
  • cPanelMichael
    Hello, You may find the following threads helpful if you are planning to use Nginx: mod_remoteip and correct ip in vhost access logs Breaking down AWstats Thank you.
    0
  • InteractM
    OK. I have got logs back by following those steps:
      ]
    • Enable Piped Apache Logs - WHM "Service Configuration "Apache Configuration "Piped Log Configuration. Check the box to enable, and save
    • Rebuild Vhosts - This is from within the Nginx configuration, not apache.
    • Restart Nginx - Self explanatory
    • Restart Apache
    Now I need to get real IP via mod_remoteIP and directions from provided first link Thanks!
    0
  • InteractM
    No clue why but logs are no longer mirrored to /home/{domain}/access-logs
    0
  • cPanelMichael
    No clue why but logs are no longer mirrored to /home/{domain}/access-logs

    Hello, It's possible Nginx installer changed the default logging format in the Apache configuration. You could check with the support team for the Nginx installer you are using to see if this is by design. Thank you.
    0

Please sign in to leave a comment.