-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In our current setup, we use grpc_logrus interceptor to log the incoming request in our system. However grpc_logrus requires *logrus.Entry struct but our salt/log does not support that. We create a new logrus instead and assign it to interceptor. Changes to the package salt is discussed in this issue raystack/salt#29.
We don't set the log level for the logger interceptor so it will take the default value which is INFO. Therefore, regardless what log_level we set in compass config, logs are flooded with grpc logger. We need to make grpc logger to respect the log level set in compass config.
Expected behavior
grpc logger to respect the log level set in compass config.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working