Skip to content

Configure logging during tests#229

Open
dwr-zroy wants to merge 2 commits intomainfrom
feature/test-logs-to-rolling-file
Open

Configure logging during tests#229
dwr-zroy wants to merge 2 commits intomainfrom
feature/test-logs-to-rolling-file

Conversation

@dwr-zroy
Copy link
Collaborator

@dwr-zroy dwr-zroy commented Mar 2, 2026

Objective

Align the logging that occurs during tests with the logging framework used by the rest of WRIMS Engine. Add log4j configuration files:

@dwr-zroy dwr-zroy self-assigned this Mar 2, 2026
@dwr-zroy dwr-zroy moved this to Needs Review in WRIMS 3 Development Mar 2, 2026
@dwr-zroy dwr-zroy added the cleaning up Relates to addressing tech debt, or other project cleanup activities label Mar 2, 2026
@dwr-zroy dwr-zroy marked this pull request as ready for review March 2, 2026 22:09
Copy link
Contributor

Choose a reason for hiding this comment

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

I noticed ${USER_PATTERN} is referenced in the Console PatternLayout, but it is not defined in this file.

While Log4j2 may tolerate undefined properties depending on version, I’d prefer we keep the config self-contained and avoid referencing undefined variables.

Can we either define USER_PATTERN or switch to ${TEST_PATTERN}?

@dwr-zroy dwr-zroy force-pushed the feature/test-logs-to-rolling-file branch from 1565ea9 to 0049a06 Compare March 3, 2026 18:25
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 3, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleaning up Relates to addressing tech debt, or other project cleanup activities

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

2 participants