Skip to content

Instantly share code, notes, and snippets.

@carl-mastrangelo
Last active January 27, 2017 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carl-mastrangelo/49f6d6a8ff29200fcb7d9e25e473b2d0 to your computer and use it in GitHub Desktop.
Save carl-mastrangelo/49f6d6a8ff29200fcb7d9e25e473b2d0 to your computer and use it in GitHub Desktop.
How to Enable Netty Frame Logging for gRPC
# -Djava.util.logging.config.file=myLoggingConfigFilePath
handlers = java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.level = ALL
.level = FINE
io.grpc.netty.NettyClientHandler = ALL
io.grpc.netty.NettyServerHandler = ALL
@wu-sheng
Copy link

io.grpc.netty.NettyServerHandler.level=DEBUG, DEBUG is not a valid level.
Cause following error

Bad level value for property: io.grpc.netty.NettyServerHandler.level

@carl-mastrangelo
Copy link
Author

Fixed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment