Want more timely Centmin Mod News Updates?
Become a Member

Access log location

Discussion in 'Other Centmin Mod Installed software' started by Jon Snow, Oct 19, 2019.

  1. Jon Snow

    Jon Snow Active Member

    917
    188
    43
    Jun 30, 2017
    Ratings:
    +293
    Local Time:
    1:07 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    There's a folder called logs for each nginx vhost and it has access logs. I'm trying to find the access logs from last month. Where are they located / moved to?

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    2:07 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    they get logrotated out/deleted after a certain time based on logrotate settings for nginx at /etc/logrotate.d/nginx

    settings for /etc/logrotate.d/nginx by default rotate logs daily or when max log size hits 500MB and keeps up to the last 10 rotation of logs via option = rotate 10