Server IP : 162.241.126.129 / Your IP : 13.58.191.60 Web Server : Apache System : Linux 162-241-126-129.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64 User : rvway5nu4 ( 1018) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/logrotate.d/ |
Upload File : |
# The log file name and location can be set in # /etc/my.cnf by setting the "log-error" option # in [mysqld] section as follows: # # [mysqld] # log-error=/var/log/mysqld.log # # For the mysqladmin commands below to work, root account # password is required. Use mysql_config_editor(1) to store # authentication credentials in the encrypted login path file # ~/.mylogin.cnf # # Example usage: # # mysql_config_editor set --login-path=client --user=root --host=localhost --password # # When these actions has been done, un-comment the following to # enable rotation of mysqld's log error. # #/var/log/mysqld.log { # create 640 mysql mysql # notifempty # daily # rotate 5 # missingok # compress # postrotate # # just if mysqld is really running # if test -x /usr/bin/mysqladmin && \ # /usr/bin/mysqladmin ping &>/dev/null # then # /usr/bin/mysqladmin flush-logs # fi # endscript #}