[
https://issues.apache.org/jira/browse/DELTASPIKE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010832#comment-18010832
]
ASF subversion and git services commented on DELTASPIKE-1482:
-------------------------------------------------------------
Commit 359dbb27c72dbb9d0a92165a68154ff6e254068f in deltaspike's branch
refs/heads/master from Mark Struberg
[ https://gitbox.apache.org/repos/asf?p=deltaspike.git;h=359dbb27c ]
DELTASPIKE-1482 don't manually set log level.
I've removed the setLevel calls from finished and failure.
The message in testFailure will now logged at Level.SEVERE though.
> Don't override the log level on test finish
> -------------------------------------------
>
> Key: DELTASPIKE-1482
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1482
> Project: DeltaSpike
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: TestControl
> Reporter: Craig McIlwee
> Assignee: Mark Struberg
> Priority: Major
>
> DELTASPIKE-1133 has a fix for logging to allow users to suppress log lines
> like this:
> {noformat}
> Jul 29, 2025 2:16:14 PM
> org.apache.deltaspike.testcontrol.api.junit.CdiTestSuiteRunner$LogRunListener
> testStarted
> INFO: [run] org.example.DatabaseTest#testSomething
> {noformat}
> That is only half of the problem though. Commit ecf4578 only touched the
> listener's {{testStarted}} method and failed to address the {{testFinished}}
> method immediately below, so we still end up with this unwanted logging:
> {noformat}
> Jul 29, 2025 2:16:14 PM
> org.apache.deltaspike.testcontrol.api.junit.CdiTestSuiteRunner$LogRunListener
> testFinished
> INFO: [finished] org.example.DatabaseTest#testSomething
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)