-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
Hello,
I have a question about the query logging functionality.
I have configured the settings to display the query log. However, only SELECT statements are being logged, while INSERT and UPDATE statements are not appearing in the log.
Is this the intended behavior or a specification of the driver? If there is a way to configure it to correctly log INSERT and UPDATE statements as well, please let me know.
Thank you.
// Settings
services.AddDbContext<UserDbContext>((sp, options) =>
{
options.UseLazyLoadingProxies();
options.UseSpanner(connectionStringBuilder.ConnectionString);
options.UseMutations(MutationUsage.Never);
var loggerFactory = sp.GetRequiredService<ILoggerFactory>();
options.UseLoggerFactory(loggerFactory);
//...
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.