Handler that controls logging levels of all the loggers. More...
#include <userver/server/handlers/on_log_rotate.hpp>
This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.
Handler that controls logging levels of all the loggers.
The component has no service configuration except the common handler options.
handler-log-level: path: /service/log-level/{level} method: GET,PUT task_processor: monitor-task-processor
POST request reopens log file for all loggers. Returns 200 status code after successful operation. If at least one of files was not successfully reopened returns 500 status code and error messages separated by comma in response body.
Definition at line 35 of file on_log_rotate.hpp.
The core method for HTTP request handling. request arg contains HTTP headers, full body, etc. The method should return response body.
request
false
Reimplemented from server::handlers::HttpHandlerBase.