• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Missing access logs and pipe logs enabled

Tozz

Regular Pleskian
Hi,

We are using piped logging with Plesk 11.5, but on one server we are having issues with statistics. Basically no statistics are ever made, because it cannot find any logs to process. The folder in /var/www/vhosts/<domain>/logs/ only contains error_log files, no access_logs. The only apache log that is beeing fed with data is /var/log/apache/other_vhosts_access.log (Debian default).

With "lsof" I am able to to determine that indeed only other_vhosts_access.log is opened by Apache, which is identical to another Plesk machine which does not exhibit this issue. So it must be an issue with Plesk nog filling the logs from the other-vhosts_access.log. I was wondering if anyone knows what might be the problem here. The only thing I can think of is that this server hosts a couple of busy websites. Could the logs be too big? (Roughly 1.5 GB/week).
 
Ok, I discovered that on a working server there is a process "pipelog" running, which is absent on this server. So I figured the issue is probably caused due to this pipelog not beeing operational. I disabled Piped logging in Plesk -> Tools & Settings -> Apache Web Server and then enabled it again. That seems to resolve the issue, as there is now a pipelog process.

We enable pipelog, as per the KB, by changing a parameter in the MySQL PSA database. It looks likes Plesk "forgets" to actually updates the Apache configuration with this new pipelogging system. Is there a way we can force Plesk to update it's core apache settings? Also, is there a better way of using pipe logging in our install script? In other words, is there a CLI command we can use?
 
Ok, I discovered that on a working server there is a process "pipelog" running, which is absent on this server. So I figured the issue is probably caused due to this pipelog not beeing operational. I disabled Piped logging in Plesk -> Tools & Settings -> Apache Web Server and then enabled it again. That seems to resolve the issue, as there is now a pipelog process.

We enable pipelog, as per the KB, by changing a parameter in the MySQL PSA database. It looks likes Plesk "forgets" to actually updates the Apache configuration with this new pipelogging system. Is there a way we can force Plesk to update it's core apache settings? Also, is there a better way of using pipe logging in our install script? In other words, is there a CLI command we can use?
You can recompile apache via following command

$PRODUCT_ROOT_D/admin/sbin/websrvmng -v -a

Ref: How do I enable Piped Logs for Apache Web Server
 
Back
Top