MCPcopy Create free account
hub / github.com/apache/mesos / getLoggingLevel

Method getLoggingLevel

src/slave/http.cpp:1132–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1130
1131
1132Future<Response> Http::getLoggingLevel(
1133 const mesos::agent::Call& call,
1134 ContentType acceptType,
1135 const Option<Principal>& principal) const
1136{
1137 CHECK_EQ(mesos::agent::Call::GET_LOGGING_LEVEL, call.type());
1138
1139 LOG(INFO) << "Processing GET_LOGGING_LEVEL call";
1140
1141 mesos::agent::Response response;
1142 response.set_type(mesos::agent::Response::GET_LOGGING_LEVEL);
1143 response.mutable_get_logging_level()->set_level(FLAGS_v);
1144
1145 return OK(serialize(acceptType, evolve(response)),
1146 stringify(acceptType));
1147}
1148
1149
1150Future<Response> Http::setLoggingLevel(

Callers

nothing calls this directly

Calls 6

OKClass · 0.85
typeMethod · 0.80
set_levelMethod · 0.80
serializeFunction · 0.50
evolveFunction · 0.50
stringifyFunction · 0.50

Tested by

no test coverage detected