Log locations are:
/rdsdbdata/log/error/mysql-error.log/rdsdbdata/log/general/mysql-general.log/rdsdbdata/log/slowquery/mysql-slowquery.logMariaDB logs are also named mysql-slowquery.log and mysql-general.log. These file locations (or names) can not be changed.
slow_query_log = 1 (default value is 0 or no logging)slow_query_log_file = /rdsdbdata/log/slowquery/mysql-slowquery.log (default location)long_query_time = 5 (to log queries that run longer than five seconds)general_log = 1 (default value is 0 or no logging)general_log_file = /rdsdbdata/log/general/mysql-general.log (default location)log_output = FILETo work with the logs from the Amazon RDS console, Amazon RDS API, Amazon RDS CLI, or AWS SDKs, set the log_output parameter to FILE.
slow_query_log = 1slow_query_log_file = /rdsdbdata/log/slowquery/mysql-slowquery.loglong_query_time = 5general_log = 1general_log_file = /rdsdbdata/log/general/mysql-general.loglog_output = FILEpending_reboot will NOT result in an automatic reboot during the next maintenance window.log_output was set to file because setting it to table can effect the database performance for high throughput workload. Setting it to FILE means you can view the logs from the RDS console, but you can not query them.To work with the logs from the Amazon RDS console, Amazon RDS API, Amazon RDS CLI, or AWS SDKs, set the log_output parameter to FILE.
TABLE then the amount of data written to the table can increase, which can also effect performance due to resources used to write to this table.TABLE, and for the prod db i have set it to FILE.