policy/frameworks/management/log.zeek
- Management::Log
This module implements logging abilities for controller and agent. It uses Zeek’s logging framework and works only for nodes managed by the supervisor. In this setting Zeek’s logging framework operates locally, i.e., this does not involve logger nodes.
- Namespace:
Management::Log
- Imports:
Summary
Types
The record type containing the column fields of the agent/controller log. |
|
The controller/agent log supports four different log levels. |
Redefinitions
The cluster logging stream identifier. |
Hooks
A default logging policy hook for the stream. |
Functions
A debug-level log message writer. |
|
An error-level log message writer. |
|
An info-level log message writer. |
|
A warning-level log message writer. |
Detailed Interface
Types
- Management::Log::Info
- Type:
- Fields:
- Attributes:
The record type containing the column fields of the agent/controller log.
Hooks
- Management::Log::log_policy
- Type:
A default logging policy hook for the stream.
Functions
- Management::Log::debug
-
A debug-level log message writer.
- Parameters:
message – the message to log.
- Management::Log::error
-
An error-level log message writer. (This only logs a message, it does not terminate Zeek or have other runtime effects.)
- Parameters:
message – the message to log.
- Management::Log::info
-
An info-level log message writer.
- Parameters:
message – the message to log.
- Management::Log::warning
-
A warning-level log message writer.
- Parameters:
message – the message to log.