mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Disable a stream's remote logging via broker if it fails.
If there's something invalid about the stream like trying to log an unsupported data type, don't keep trying to send remote logs.
This commit is contained in:
parent
4f918f1f98
commit
69693663eb
1 changed files with 2 additions and 1 deletions
|
@ -844,7 +844,8 @@ bool Manager::Write(EnumVal* id, RecordVal* columns)
|
|||
|
||||
#ifdef ENABLE_BROKER
|
||||
if ( stream->enable_remote )
|
||||
comm_mgr->Log(id, columns, stream->remote_flags);
|
||||
if ( ! comm_mgr->Log(id, columns, stream->remote_flags) )
|
||||
stream->enable_remote = false;
|
||||
#endif
|
||||
|
||||
Unref(columns);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue