You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this library outputs too much logs with package:logging on FINE level with loggers named "BufferedSocket" and "MySqlConnection". Most log content is about bytes transfered through TCP connection with database.
I would suggest to put these logs to a lower level (eg. FINEST) and make sure not to construct the string when logging of that level is off, as they are really about byte-level details. It would make logging management easier for application developers.
Currently I'm turning off these logs with:
void _adjustDatabaseLogLevel() {
// Logs from these loggers are flooding the log buffer.
// Turn off Level.FINE and below.
final dbLoggers = [
'BufferedSocket',
'MySqlConnection',
'PrepareHandler',
'ExecuteQueryHandler',
];
for (var dbLogger in dbLoggers) {
Logger(dbLogger).level = Level.CONFIG;
}
}
The text was updated successfully, but these errors were encountered:
I noticed this library outputs too much logs with package:logging on FINE level with loggers named "BufferedSocket" and "MySqlConnection". Most log content is about bytes transfered through TCP connection with database.
I would suggest to put these logs to a lower level (eg. FINEST) and make sure not to construct the string when logging of that level is off, as they are really about byte-level details. It would make logging management easier for application developers.
Currently I'm turning off these logs with:
The text was updated successfully, but these errors were encountered: