Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch add set_logdate function to centmin.sh menu options to update the log timestamps

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 29, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    31,027
    6,928
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,434
    Local Time:
    6:35 AM
    Nginx 1.13.x
    MariaDB 5.5
    add set_logdate function to centmin.sh menu options to update the log timestamps

    DT variable for timestamp was only set once in centmin.sh so populated only when centmin.sh is launched so that all centmin.sh menu options respective logs would be timestamped with that instance of DT = time centmin.sh was launched. Add a set_logdate function so that it is triggered on each centmin.sh menu option's run where needed to update the DT timestamp variable so that repeated centmin.sh menu option runs within same centmin.sh session (without exiting) have a new timestamp for their logs https://github.com/centminmod/centminmod/issues/54

    Continue reading...

    123.09beta01 branch