grpc-java/examples/logging.properties

9 lines
380 B
Properties

# Create a file called logging.properties with the following contents.
handlers=java.util.logging.ConsoleHandler
io.grpc.level=FINE
java.util.logging.ConsoleHandler.level=ALL
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
# Pass the location of the file to JVM via this command-line flag
JAVA_OPTS=-Djava.util.logging.config.file=logging.properties