Skip to content

Log directly to stdout/stderr #112

@mars

Description

@mars

With everything else set per the solo config example, the following changes make Nginx log directly to stdout/stderr without intermediate filesystem writes & reads as well as no longer needing the multi-process handing in the start-up script:

error_log /dev/stdout info;

http {
  access_log /dev/stdout l2met;
}

This change would eliminate traffic-induced filesystem IO and eliminate filesystem consumption by logs.

Would these changes be welcome? To avoid breaking existing usages, we could offer them as a another option of start-up process, and example config/nginx.conf.erb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions