Skip to content

Symlink /dev/stdout instead of nginx-log-forwarder #72

Open
@konsti

Description

@konsti

Hi,

is there any reason for the nginx-log-forwarder?
Having a process with tail -f causes trouble with logrotate in my containers and I think we could avoid this entirely.

ln -sf /dev/stdout /var/log/nginx/access.log
ln -sf /dev/stderr /var/log/nginx/error.log

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