-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
feature[Issue Type] New features or improvements to existing features.[Issue Type] New features or improvements to existing features.priority/majorDefault priority of the PR or issue.Default priority of the PR or issue.
Description
Search before asking
- I searched in the issues and found nothing similar.
Description
Summary
Add per-event-type configurable log levels to the event log system, as identified in the 0.3 planning discussion (#516).
Motivation
The current event log system only supports binary accept/reject filtering via EventFilter. There is no way to:
- Configure different log levels for different event types (e.g., VERBOSE for ChatRequestEvent, OFF for ContextRetrievalRequestEvent)
- Distinguish between standard and verbose logging detail (both behave identically)
- Filter logged events by level or event type in downstream tools without parsing nested JSON
Changes
- New
EventLogLevelenum:OFF,STANDARD,VERBOSE - Per-event-type levels configured via
EventLoggerConfigbuilder and string-based config options - STANDARD truncates long string fields (configurable
eventLogMaxFieldLength, default 1024); VERBOSE logs full content - Top-level
eventTypefield in JSON output for easier downstream filtering - Startup validation warns about unrecognized event type names in config
- Backward compatible: existing configs and JSON format continue to work
Config Options
| Key | Default | Description |
|---|---|---|
eventLogLevel |
STANDARD |
Global default level (OFF, STANDARD, VERBOSE) |
eventLogLevels |
(none) | Per-type overrides. Format: ChatRequestEvent=VERBOSE,InputEvent=OFF |
eventLogMaxFieldLength |
1024 |
Max chars for string fields at STANDARD level. 0 disables truncation. |
Related
- Discussion Planning Flink Agents 0.3 #516 (Planning Flink Agents 0.3)
Are you willing to submit a PR?
- I'm willing to submit a PR!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature[Issue Type] New features or improvements to existing features.[Issue Type] New features or improvements to existing features.priority/majorDefault priority of the PR or issue.Default priority of the PR or issue.