Open sophie-cluml opened 3 weeks ago
Based on the previous discussion, it appears that the log_dir
set by the Manager server remains fixed and does not change dynamically during runtime.
(Or is there another way to modify the log_dir
besides UI?)
Could you confirm if this assumption is correct?
As discussed in Slack, the log_dir
can be changed, and Crusher will respond to the update accordingly.
Background
The Manager will send "config updated" notifications to agents, whenever the configuration for that agent is updated.
Task
We need to implement the agent's side of receiving the notification. The interface function for this is review-protocol's
request::Handler::update_config
Upon receiving the notification, Crusher will only reload the configuration, not finishing its process. (i.e. PID will not change.)