Thursday, March 17, 2022

[google-cloud-sql-discuss] Re: where is the cloudsql.googleapis.com/mysql-general.log

Please be sure your database has the correct flags configuration. In this page you will find how to see if the flags were applied correctly by checking the Current values of the database flags and Determine what database flags have been set for an instance. Once confirming the flags are correct, you might want to check the Storing, viewing, and managing logs.

I also want to mention that the flag `log_out` should be `log_output`. Please check all the configuration is done properly and correct the typo and provide more information according to this documentation, please.



On Thursday, March 17, 2022 at 10:14:29 AM UTC-6 zhaox...@gmail.com wrote:
Hi,

We have configured the cloud SQL instance tag 

log_out FILE
slow_query_log on
general_log on

It is promised in this [document](https://cloud.google.com/sql/docs/mysql/logging) that there should be a file "cloudsql.googleapis.com/mysql-general.log" that could be found in the log explorer that should record all queries, but we can't find it!

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/36b4843d-557e-4e23-aff0-69f0a403502dn%40googlegroups.com.

No comments:

Post a Comment