Skip to content

Add parameter to set the logging level for TestLogger#2873

Open
labkey-tchad wants to merge 4 commits intodevelopfrom
fb_testDebugLogging
Open

Add parameter to set the logging level for TestLogger#2873
labkey-tchad wants to merge 4 commits intodevelopfrom
fb_testDebugLogging

Conversation

@labkey-tchad
Copy link
Member

Rationale

While debugging a test failure, I realized that there isn't a way to configure our tests' log level without modifying the log4j2.xml config file. Fixing this introduced a circular dependency in the static initialization of TestLogger and TestProperties. I introduced a separate logger to TestProperties to avoid this (WebTestHelper has its own logger for a similar reason).

Related Pull Requests

  • N/A

Changes

  • Add parameter (webtest.log.level) to set the logging level for TestLogger
  • Remove circular static initialization dependency between TestLogger and TestProperties
  • Adjust WebDriverWrapper.waitForPageToLoad to work better on Chrome

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant