Skip to content

[feature] Enable EventLog display in WebUI by default#638

Merged
wenjin272 merged 3 commits into
apache:mainfrom
GreatEugenius:event-log-ui
May 13, 2026
Merged

[feature] Enable EventLog display in WebUI by default#638
wenjin272 merged 3 commits into
apache:mainfrom
GreatEugenius:event-log-ui

Conversation

@GreatEugenius
Copy link
Copy Markdown
Collaborator

Linked issue: #252

Purpose of change

Enable EventLog display in WebUI by default.

Tests

UT and local end-to-end testing in the Flink Standalone Cluster:
image

API

No

Documentation

  • doc-needed
  • doc-not-needed
  • doc-included

@github-actions github-actions Bot added doc-included Your PR already contains the necessary documentation updates. fixVersion/0.3.0 The feature or bug should be implemented/fixed in the 0.3.0 version. priority/major Default priority of the PR or issue. labels Apr 22, 2026
@GreatEugenius GreatEugenius marked this pull request as draft April 22, 2026 11:09
@GreatEugenius GreatEugenius marked this pull request as ready for review April 23, 2026 01:12
@GreatEugenius
Copy link
Copy Markdown
Collaborator Author

Hi, @Sxnan and @wenjin272 . Could you please review this PR? Thank you!

@wenjin272
Copy link
Copy Markdown
Collaborator

Hi, @GreatEugenius. Overall looks good to me, I left some minor comments about details.

Additionally, after #609 is merged, I think you may need to make further adjustments.

@GreatEugenius
Copy link
Copy Markdown
Collaborator Author

Hi, @GreatEugenius. Overall looks good to me, I left some minor comments about details.

Additionally, after #609 is merged, I think you may need to make further adjustments.

Understood, I will rebase to the main branch after #609 is merged.

Comment thread api/src/main/java/org/apache/flink/agents/api/logger/EventLoggerConfig.java Outdated
@GreatEugenius GreatEugenius force-pushed the event-log-ui branch 3 times, most recently from 348dfc5 to db15740 Compare April 30, 2026 01:17
@GreatEugenius
Copy link
Copy Markdown
Collaborator Author

GreatEugenius commented Apr 30, 2026

Hi @wenjin272, I have addressed all your comments. Please review it again.

@GreatEugenius GreatEugenius requested a review from wenjin272 April 30, 2026 01:21
@GreatEugenius GreatEugenius force-pushed the event-log-ui branch 2 times, most recently from 7218f96 to 84fa697 Compare May 12, 2026 07:34
@GreatEugenius
Copy link
Copy Markdown
Collaborator Author

Hi @wenjin272, I have addressed all your comments and rebased to the main branch, which includes the merged pull request #609. Please take a look.

@GreatEugenius
Copy link
Copy Markdown
Collaborator Author

Hi @wenjin272, I have addressed all your comments. Please review it again.

@GreatEugenius GreatEugenius requested a review from wenjin272 May 12, 2026 10:52
@GreatEugenius GreatEugenius force-pushed the event-log-ui branch 2 times, most recently from f6dda96 to 2edd594 Compare May 12, 2026 23:40
Copy link
Copy Markdown
Collaborator

@wenjin272 wenjin272 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good to me, but the documents need some refactor for #658 has been merged.

Previously, the EventRouter passed baseLogDir and prettyPrint to the
EventLoggerConfig as separate top-level properties, while the agent
config map (already used for per-event-type log levels and STANDARD-level
truncation limits) carried the same values. The duplication forced
loggers to read each setting from a different location and made it easy
to drift if one path were updated without the other.

This change makes the agent config map the single source of truth:
- Promote AGENT_CONFIG_PROPERTY_KEY from FileEventLogger to
  EventLoggerConfig so any logger (built-in or custom) can share it
  without depending on the runtime module.
- FileEventLogger reads baseLogDir, prettyPrint, event-log.level and
  event-log.standard.max-* all from the same agentConfig map.
- EventRouter only sets AGENT_CONFIG_PROPERTY_KEY; the redundant
  baseLogDir/prettyPrint properties are dropped.
- Update FileEventLoggerTest with a buildConfig helper that seeds
  baseLogDir; update ActionExecutionOperatorTest to look inside the
  agent-config map for verification.
Comment thread api/src/main/java/org/apache/flink/agents/api/logger/EventLoggerConfig.java Outdated
Copy link
Copy Markdown
Collaborator

@wenjin272 wenjin272 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wenjin272 wenjin272 merged commit 61490ea into apache:main May 13, 2026
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-included Your PR already contains the necessary documentation updates. fixVersion/0.3.0 The feature or bug should be implemented/fixed in the 0.3.0 version. priority/major Default priority of the PR or issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants