Vhost Error Logs Empty

Discussion in 'Installation/Configuration' started by Cracklefish, Feb 5, 2019.

  1. Cracklefish

    Cracklefish Member

    All the Vhost error log files are empty and error messages are being written to /var/log/apache2/error.log
    Vhost access logs are normal and there seems to be duplicate entries in /var/log/apache2/error.log
    Distro is Debian 9, ISPC 3.1.13
    000-default .conf contains:
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
  2. Nicram

    Nicram Member

    It may be related to PHP that is used, so it would be best if You would show example of vhost file from Apache, and how You configure it on ispconfig panel.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The 000-default .conf file is not relevant for websites hosted on your ispconfig server, this file is for the default vhost only. websites have their own error.log as you can see in the vhost files of the sites.

    ErrorLog /var/log/ispconfig/httpd/yourdomain.tld/error.log
  4. Cracklefish

    Cracklefish Member

    Sorry, my mistake, however all the error logs for every domain at /var/log/ispconfig/httpd/yourdomain.tld/error.log are empty.
    error.log has zero length and all error.log.*.gz are length 30.
    access logs are functioning normally,

Share This Page