6#include <userver/server/handlers/http_handler_base.hpp>
14namespace server::handlers {
35class OnLogRotate
final :
public HttpHandlerBase {
37 OnLogRotate(
const components::ComponentConfig& config,
const components::ComponentContext& component_context);
41 static constexpr std::string_view
kName =
"handler-on-log-rotate";
43 std::string
HandleRequestThrow(
const http::HttpRequest& request, request::RequestContext&)
const override;
45 static yaml_config::Schema GetStaticConfigSchema();
48 components::Logging& logging_component_;
54inline constexpr bool components::kHasValidate<server::handlers::OnLogRotate> =
true;