Skip to main content

Log location? dblog or syslog?

Comments

3 comments

  • Andrea Soper

    We do not currently support syslog. Unfortunately the binary which the Drupal syslog module relies on is not available, so enabling syslog in your Drupal instance will mean your logs have nowhere to go.

    In general, application logs (outside of Drupal) are added to /var/log/app.log, and you can see most anything in /var/log/{$logname}.log with the cli command platform log {$logname}. You’ll find more information about the various log files in our developer documentation.

    0
  • Platform.sh DevRel

    Topic Changelog

    0
  • Dan Morrison

    It’s not an official recommendation, but it’s possible that for Drupal 8,9
    https://www.drupal.org/project/filelog
    may work well enough for some types of logging needs.

    0

Please sign in to leave a comment.