Open sappusaketh opened 1 month ago
Log4j doesn't expose a REST API
Refer Kafka Connect documentation for all available REST API endpoints.
I see. I've not personally tested this.
It should be the exact same since this project doesn't modify the REST API.
Worth mentioning that CONNECT_LOG4J_LOGGERS
environment variable is not available for this project; that variable is specific to the Confluent image.
Ya I tried but I’m not seeing any loggers returned for that endpoint will see what I can find thank you as always for responding quickly
when the logging level is changed from INFO to DEBUG using the REST API; this is logged; but the logging level does not change:
INFO Setting level of namespace root and children to DEBUG (org.apache.kafka.connect.runtime.Loggers:125)
Seconding sappusaketh's request: do you think it is possible to add adjustable logging levels for this container?
As mentioned, I'm not modifying the REST API of Connect, so all fictionality should be "possible".
I don't know what class actually implements the log feature/endpoint to know if it's available in the container.
I see there log4j2.xml configuring log levels in that file might work but if I want to temp set log lev for troubleshooting is there a way to do it via rest api?