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

Unable to avoid logging on console #448

Open
1 of 5 tasks
ajaysuryavamshi opened this issue Sep 8, 2023 · 1 comment
Open
1 of 5 tasks

Unable to avoid logging on console #448

ajaysuryavamshi opened this issue Sep 8, 2023 · 1 comment

Comments

@ajaysuryavamshi
Copy link

ajaysuryavamshi commented Sep 8, 2023

QAF Version - 2.1.14

Note: only the latest version is supported

Steps To Reproduce

1. Create a Project using QAF Blank Maven Project and Add qaf-support-ws
2. Add Scenarios for Web Services & Try to execute them
3. Disable/remove log4j.properties or change the root category to ERROR/FATAL

Expected behavior

Console log should print only ERROR logs

Actual behavior

Console log is printing ALL THE LOG VERBOSE

Is the issue reproducible on runner?

  • QAS
  • Maven
  • Gradle
  • Ant
  • Eclipse

Test case sample

Please, share the test case (as small as possible) which shows the issue

@cjayswal
Copy link
Member

cjayswal commented Sep 11, 2023

For older version of qaf (below 3.1.0) there is log4j1.x dependency from framework. There may be other logging libraries taking control of logging instead of log4j. You should try to find out which logging implementation takes control and configure accordingly. Check similar questions in users group and stack overflow

From qaf version 3.1.0, qaf doesn't include log4j dependency. User need to choose/add logging framework of their choice ( for example log4j, log4j2, slf4j, Logback etc.) and configure logging as per logging framework used. Refer release-notes

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

No branches or pull requests

2 participants