Skip to content

Route Drupal syslog entries to stdout #5

Open
@grayside

Description

@grayside

In docker, logs are picked up from stdout. This is how commands such as docker logs are able to present log activity. We have already got Apache and PHP error logs, but we do not have logs properly routed for applications with their own syslog facility.

Rather than use a technique such as https://www.drupal.org/project/log_stdout, let's configure the container to split off Drupal logs into a dedicated file descriptor, whether that's a standard /var/log location or explicitly stdout.

If it is a /var/log/drupal, we already know how to use symlink magic to reroute that to stdout, check out the Dockerfile.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions