Update configuration settings and logging behavior for SQL monitoring

- Increased thresholds for maximum query and method executions per window to 500 and 250, respectively, to reduce false positives in loop detection.
- Enabled logging of slow queries only, improving performance by reducing log volume.
- Adjusted SQL query logging to capture only warnings and errors, further optimizing logging efficiency.
- Updated various settings across appsettings files to reflect these changes, ensuring consistency in configuration.
This commit is contained in:
2025-11-24 01:02:53 +07:00
parent 372d19f840
commit fef66f6d7b
10 changed files with 56 additions and 53 deletions

View File

@@ -37,7 +37,9 @@
"LoggingEnabled": false,
"SentryEnabled": false,
"LoopDetectionEnabled": true,
"LogErrorsOnly": true
"LogErrorsOnly": true,
"MaxQueryExecutionsPerWindow": 500,
"MaxMethodExecutionsPerWindow": 250
},
"Cors": {
"AllowedOrigins": [