Open theronic opened 5 months ago
My last company was a clojure shop... I'm trying to remember how we approached this problem.
One piece of it is that authzed-java
is a relatively thin wrapper around grpc-java
, so the solution is gonna operate at that level. It also looks like Netty uses SLF4J, which is going to attempt to attach to whatever logging backend you're currently running, which may or may not be java.util.logging.Logger
.
There's an issue here that may be helpful: https://github.com/grpc/grpc-java/issues/3033#issuecomment-309567676
Let me know what you find, though - this seems like it'd be something useful to have documented in an FAQ.
How do I disable noisy DEBUG logs like these:
I'm using the Java AuthZed client from Clojure. I see that authzed-java uses
java.util.logging.Logger
, which according to this answer on SO supports alogging.properties
file, but then you have to pass an argument to the Java call. I'm not sure how to do this.