mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Update docs for the new logger node type
This commit is contained in:
parent
f45a3e8878
commit
ce0b9d42d3
4 changed files with 37 additions and 14 deletions
|
@ -32,7 +32,7 @@ redef Communication::listen_port = Cluster::nodes[Cluster::node]$p;
|
|||
|
||||
@if ( Cluster::local_node_type() == Cluster::MANAGER )
|
||||
@load ./nodes/manager
|
||||
# If no logger is defined, then the manager writes logs.
|
||||
# If no logger is defined, then the manager receives logs.
|
||||
@if ( "logger" !in Cluster::nodes )
|
||||
@load ./nodes/logger
|
||||
@endif
|
||||
|
|
|
@ -33,7 +33,7 @@ event bro_init() &priority=9
|
|||
}
|
||||
else if ( me$node_type == MANAGER )
|
||||
{
|
||||
# If no logger is defined, then the manager writes logs.
|
||||
# If no logger is defined, then the manager receives logs.
|
||||
local managerlogs = "logger" !in Cluster::nodes;
|
||||
|
||||
if ( n$node_type == LOGGER && me$logger == i )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue