GET request shows information about available locations and forced loggings. PUT adds forced logging for a particular location. DELETE request removes forced logging from a location.
GET
For the GET requests this handler returns a list of all the known logging locations tab separated from a on/off value of logging:
project/src/some.cpp:13 0
project/src/some.cpp:23 0
project/src/some.cpp:42 1
project/src/some.cpp:113 0
userver/core/src/server/server.cpp:131 0
In the above sample 1 means that logging was enabled via this handler and that logger would write logs even if the logger level tells not to do that. 0 means that the log will be written down only if the logger level tells to do that.
PUT
PUT request enables logging for the location specified in a location= argument in URL. PUT request should have a location= argument in URL with a location from the GET request or with a location without line number, to enable logging for the whole file.
DELETE
DELETE request removes the forced logging from location. Location should be specified in the location= argument in URL.