Add a REST API to modify log level to running container
|Status:||Closed||Start date:||Dec 27, 2016|
|Assignee:||Lucio Lelii||% Done:|
|Sprint:||zz - Smartgears|
Reading OrientDB documentation I found a REST API to modify log level without restarting the service. The API requires root authentication.
I think this can be very useful to investigate problems by getting more logs without restarting the container.
In many cases when the container is restarted the reproducibility decrease.
We can use authorization to filter such an API.
#4 Updated by Andrea Dell'Amico about 1 year ago
I'm not sure I understand the question. the logback configuration that supports on the fly changing of the log level is distributed by ansible. When you change it manually you have to change it back when your're done, or run the playbook tasks that install