| 1652 | |
| 1653 | |
| 1654 | Future<Response> Master::Http::getLoggingLevel( |
| 1655 | const mesos::master::Call& call, |
| 1656 | const Option<Principal>& principal, |
| 1657 | ContentType contentType) const |
| 1658 | { |
| 1659 | CHECK_EQ(mesos::master::Call::GET_LOGGING_LEVEL, call.type()); |
| 1660 | |
| 1661 | mesos::master::Response response; |
| 1662 | response.set_type(mesos::master::Response::GET_LOGGING_LEVEL); |
| 1663 | response.mutable_get_logging_level()->set_level(FLAGS_v); |
| 1664 | |
| 1665 | return OK(serialize(contentType, evolve(response)), |
| 1666 | stringify(contentType)); |
| 1667 | } |
| 1668 | |
| 1669 | |
| 1670 | Future<Response> Master::Http::setLoggingLevel( |