documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Log Files on Pantheon Doc Update

Open jms-pantheon opened this issue 3 years ago • 6 comments

Re: Log Files on Pantheon

Priority: Low

Issue Description:

There is an additional /logs/nginx/error.log file that is not documented here. My understanding is that this error.log file is the default log file of NGINX per https://nginx.org/en/docs/ngx_core_module.html#error_log

In Pantheon the log files that are specifically defined in nginx.conf are the nginx-error.log and nginx-access.log so most of the relevant information is not on the default error.log

Suggested Resolution

Consult with engineering to find the purpose of this file on our platform and its retention period, update the documentation to include this file.

jms-pantheon avatar Jul 21 '22 14:07 jms-pantheon

we might be able to combine this with the work in #7613

EdwardAngert avatar Aug 19 '22 19:08 EdwardAngert

7614 closes this as well.

whitneymeredith avatar Sep 01 '22 18:09 whitneymeredith

Hey @whitneymeredith I'm not sure that this one has been addressed, or have I missed a change somewhere? This was to bring up that we have an undocumented log file

jms-pantheon avatar Sep 01 '22 19:09 jms-pantheon

The documentation says:

The directory structure will resemble:

├── logs
    └──php
        └──newrelic.log
        └──php-error.log
        └──php-fpm-error.log
        └──php-slow.log
    └──nginx
        └──nginx-access.log
        └──nginx-error.log

However, there is an additional file:

├── logs
    └──php
        └──newrelic.log
        └──php-error.log
        └──php-fpm-error.log
        └──php-slow.log
    └──nginx
        └──nginx-access.log
        └──nginx-error.log
        └──error.log

And there is no description of what this extra file is for

jms-pantheon avatar Sep 01 '22 19:09 jms-pantheon

@jms-pantheon Good catch! I'll put this back on the board.

whitneymeredith avatar Sep 01 '22 19:09 whitneymeredith

Re-opening so that we can clarify the purpose of this file

jms-pantheon avatar Oct 11 '22 14:10 jms-pantheon