Skip to content

Commit 96597ef

Browse files
authored
Set hierarchicalLoggingEnabled to disable neat_cache logs properly. (#4421)
Closes flutter/flutter#166345. Without this change, the server fails to startup.
1 parent 2147931 commit 96597ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app_dart/bin/gae_server.dart

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Future<void> main() async {
2424
// is inherently bad. We're allocating the logger (or getting back one) and
2525
// then turning it off - there is no way to "filter". Luckily; the library
2626
// does not set the level for the logger, making this just a little brittle.
27+
hierarchicalLoggingEnabled = true;
2728
for (final logName in ['neat_cache', 'neat_cache:redis']) {
2829
final log = Logger(logName);
2930
log.level = Level.WARNING;

0 commit comments

Comments
 (0)