Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text not getting logged in report when logging is performing from another thread apart from testNG #148

Closed
ERankur91-zz opened this issue Oct 3, 2020 · 2 comments

Comments

@ERankur91-zz
Copy link

agent-java-testng : 5.0.7
logger-java-log4j : 5.0.1
org.testng.testng: 7.0.0

I am launching another thread from my test case and performing some logging (refer to screenshot: 1)
as mentioned in screenshot: 1 following loggers are getting printed in report "Test message 2" , "test message 21".
But logger which i am printing in another thread doesn't gets printed in logs at report portal ( refer to screenshot: 2)

Can you please help me what i am doing wrong? As this is the very basic scenario which i was expecting.

screenshot: 1
image

screenshot: 2
image

Logs from console:
image

@ERankur91-zz ERankur91-zz changed the title text not logged when performing from another thread apart from testNG text not getting logged in report when logging is performing from another thread apart from testNG Oct 3, 2020
@ERankur91-zz
Copy link
Author

Hi team,
please help in this, integration of reportportal stuck due to this issue.

@HardNorth
Copy link
Member

@Erankur91 This is something you have to live with for now.

Duplicates: reportportal/client-java#105

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

No branches or pull requests

2 participants