Join the community today
Become a Member

Beta Branch add log_format main_json in 123.09beta01

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

  1. eva2000

    eva2000 Administrator Staff Member

    59,388
    12,514
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,150
    Local Time:
    10:13 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 Nginx - How To Configure Nginx For JSON Based Access Logging
    - end users would need to update their /usr/local/nginx/conf/nginx.conf manually as per Nginx - How To Configure Nginx For JSON Based Access Logging
    - 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
    Code (Text):
    access_log /home/nginx/domains/domain.com/log/access_log.json main_json buffer=256k flush=5m;


    Continue reading...

    123.09beta01 branch