VOL-1848 API for setting and querying loglevel in api-server
Change-Id: Ibecb3c33953b60251c94c5e1438c4bff99e9139a
diff --git a/protos/voltha_protos/common.proto b/protos/voltha_protos/common.proto
index 880c4ad..f5e68c4 100644
--- a/protos/voltha_protos/common.proto
+++ b/protos/voltha_protos/common.proto
@@ -34,6 +34,22 @@
}
}
+message Logging {
+ common.LogLevel.LogLevel level = 1;
+ string package_name = 2;
+ string component_name = 3;
+}
+
+// For GetLogLevels(), select component to query
+message LoggingComponent {
+ string component_name = 1;
+}
+
+// For returning multiple log levels
+message Loggings {
+ repeated Logging items = 1;
+}
+
message AdminState {
option (yang_child_rule) = MOVE_TO_PARENT_LEVEL;