diff --git a/azuracast.dev.env b/azuracast.dev.env index 49d1ed926..04dde9150 100644 --- a/azuracast.dev.env +++ b/azuracast.dev.env @@ -54,5 +54,7 @@ MYSQL_RANDOM_ROOT_PASSWORD=yes # Log slower queries for the purpose of diagnosing issues. Only turn this on when # you need to, by uncommenting this and switching it to 1. +# To read the slow query log once enabled, run: +# docker-compose exec mariadb slow_queries MYSQL_SLOW_QUERY_LOG=1 diff --git a/azuracast.sample.env b/azuracast.sample.env index a909eff49..e243fec9b 100644 --- a/azuracast.sample.env +++ b/azuracast.sample.env @@ -65,8 +65,8 @@ MYSQL_RANDOM_ROOT_PASSWORD=yes # Log slower queries for the purpose of diagnosing issues. Only turn this on when # you need to, by uncommenting this and switching it to 1. -# To read the slow query log once enabled, run: -# docker-compose exec mariadb mysqldumpslow /var/log/mysql/slow.log +# To read the slow query log once enabled, run: +# docker-compose exec mariadb slow_queries # Default: 0 MYSQL_SLOW_QUERY_LOG=0