mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Management framework: log the controller's startup deployment attempt
The controller now logs its deployment attempt of a persisted configuration at startup. This is generally helpful to see recorded, and also explains timeout of the underlying request in case of failure (which triggers a timeout message).
This commit is contained in:
parent
05447c413f
commit
d994f33636
1 changed files with 2 additions and 0 deletions
|
@ -1366,6 +1366,8 @@ event zeek_init()
|
||||||
{
|
{
|
||||||
local req = Management::Request::create();
|
local req = Management::Request::create();
|
||||||
req$deploy_state = DeployState($config=g_configs[DEPLOYED], $is_internal=T);
|
req$deploy_state = DeployState($config=g_configs[DEPLOYED], $is_internal=T);
|
||||||
|
Management::Log::info(fmt("deploying persisted configuration %s, request %s",
|
||||||
|
g_configs[DEPLOYED]$id, req$id));
|
||||||
deploy(req);
|
deploy(req);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue