Log location? dblog or syslog?

I’m not sure where to find Drupal logs with syslog on, and I couldn’t find any info as to whether platform recommends/cares Re: syslog vs dblog.

0

Comments

5 comments
Date Votes
  • 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
  • Topic Changelog

    0
  • 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
  • check out syslog in /tmp/log folder: /tmp/log/syslog.log it should contain Drupal output

    0
  • This was not the case for me, Vladimir… is there anything you have to change in /admin/config/development/logging ?

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post