Skip to content

Commit c6f070e

Browse files
committed
Fix logs
1 parent f1742c4 commit c6f070e

File tree

2 files changed

+4
-1
lines changed
  • root/etc
    • logrotate.d
    • s6-overlay/s6-rc.d/init-mariadb-poststart

2 files changed

+4
-1
lines changed

root/etc/logrotate.d/mariadb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/config/log/mysql/*.log /config/databases/*.err {
1+
/config/log/mysql/*.log {
22
firstaction
33
/usr/bin/mariadb-admin --local version >/dev/null 2>&1
44
endscript

root/etc/s6-overlay/s6-rc.d/init-mariadb-poststart/run

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ else
1919
# You can read more about it here: #
2020
# https://mariadb.com/kb/en/authentication-from-mariadb-10-4/ #
2121
# #
22+
# And add the following to /config/custom.cnf under [mysqld]: #
23+
# log_error = /config/log/mysql/mariadb-error.log #
24+
# #
2225
#####################################################################################
2326

2427

0 commit comments

Comments
 (0)