Welcome to Centmin Mod Community
Become a Member

Master Branch add log_format main_json in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 12, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    58,894
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    5:15 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    add log_format main_json in 123.09beta01


    - for Nginx JSON log_format support add custom main_json format to nginx.conf https://community.centminmod.com/threads/how-to-configure-nginx-for-json-based-access-logging.19641/
    - end users would need to update their /usr/local/nginx/conf/nginx.conf manually as per https://community.centminmod.com/threads/how-to-configure-nginx-for-json-based-access-logging.19641/
    - users would need to manually enable access_log using main_json format by adding an additional access_log line into their Nginx vhost config files

    example replacing domain.com with your domain name

    access_log /home/nginx/domains/domain.com/log/access_log.json main_json buffer=256k flush=5m;

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.