You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each log message should be printed on separate line if in the log4j2.properties file it is specified a new line character at the end of the pattern
Actual behavior
There is an empty line after each log message.
After I removed the new line character in the pattern each log message was still on separate lines.
That indicates that the new line is added by something else and the empty lines were result of the new line character in the pattern
Is the issue reproducible on runner?
Shell
Maven
Gradle
Ant
Eclipse
IntelliJ
NetBeans
Test case sample
Please, share the test case (as small as possible) which shows the issue
The test only logs some messages.
Contribution guidelines
Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.
The text was updated successfully, but these errors were encountered:
In addition to sharing a sample, please also add the following details:
TestNG version being used.
JDK version being used.
How was the test run (IDE/Build Tools)?
How does your build file (pom.xml | build.gradle | build.gradle.kts) look like ?
It would be better if you could share a sample project that can be directly used to reproduce the problem.
Reply to this issue when all information is provided, thank you.
TestNG Version
Expected behavior
Each log message should be printed on separate line if in the log4j2.properties file it is specified a new line character at the end of the pattern
Actual behavior
There is an empty line after each log message.
After I removed the new line character in the pattern each log message was still on separate lines.
That indicates that the new line is added by something else and the empty lines were result of the new line character in the pattern
Is the issue reproducible on runner?
Test case sample
Contribution guidelines
Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.
The text was updated successfully, but these errors were encountered: