Class GrpcLogging

java.lang.Object
io.deephaven.enterprise.util.GrpcLogging

public final class GrpcLogging extends Object
  • Field Details

    • DEFAULT_NON_ALL_LEVEL

      public static final Level DEFAULT_NON_ALL_LEVEL
    • NON_ALL_LEVEL_PROPERTY_NAME

      public static final String NON_ALL_LEVEL_PROPERTY_NAME
    • NON_ALL_LEVEL

      public static final Level NON_ALL_LEVEL
  • Constructor Details

    • GrpcLogging

      public GrpcLogging()
  • Method Details

    • setup

      public static void setup(String shadowPath)

      Setup gRPC log bridging to the iris logging system. As we shadow gRPC dependencies, and we have more than one shadow, the caller needs to specify the shadowed path.

      A property can be used to control logging, the property is built by concatenating "grpc.log.all." + shadowPath

      Parameters:
      shadowPath - The shadow path prefix, up to and excluding any trailing io.grpc.X components. Eg, if the full path to shadowed class X is "A.B.C.io.grpc.X", shadowPath should be "A.B.C".