mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Management framework: additional context in a few log messages
This adds request IDs in a few places that didn't mention them, and makes requests to the Supervisor that act on all current nodes explicit.
This commit is contained in:
parent
f6597ffabf
commit
e947e1d1c2
2 changed files with 10 additions and 6 deletions
|
@ -236,7 +236,7 @@ function add_instance(inst: Management::Instance)
|
|||
|
||||
local req = Management::Request::create();
|
||||
|
||||
Management::Log::info(fmt("tx Management::Agent::API::agent_welcome_request to %s", inst$name));
|
||||
Management::Log::info(fmt("tx Management::Agent::API::agent_welcome_request %s to %s", req$id, inst$name));
|
||||
Broker::publish(Management::Agent::topic_prefix + "/" + inst$name,
|
||||
Management::Agent::API::agent_welcome_request, req$id);
|
||||
}
|
||||
|
@ -767,7 +767,7 @@ event Management::Agent::API::notify_agent_hello(instance: string, id: string, c
|
|||
# context for it from the configuration. Tell agent.
|
||||
local req = Management::Request::create();
|
||||
|
||||
Management::Log::info(fmt("tx Management::Agent::API::agent_welcome_request to %s", instance));
|
||||
Management::Log::info(fmt("tx Management::Agent::API::agent_welcome_request %s to %s", req$id, instance));
|
||||
Broker::publish(Management::Agent::topic_prefix + "/" + instance,
|
||||
Management::Agent::API::agent_welcome_request, req$id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue