Join the community today
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

    858
    172
    43
    Jun 30, 2017
    Ratings:
    +264
    Local Time:
    12:48 PM
    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

    55,458
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,841
    Local Time:
    1:48 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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