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

[Bug]: Logj4j logs credentials in case of "ParameterizedTest" #1809

Open
roaamagdy opened this issue Nov 20, 2024 · 1 comment
Open

[Bug]: Logj4j logs credentials in case of "ParameterizedTest" #1809

roaamagdy opened this issue Nov 20, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request java Pull requests that update Java code

Comments

@roaamagdy
Copy link

Example:


 @ParameterizedTest
  @MethodSource("provideTestUsers") //create some users
  void test(User userObj) {
  }

Log output:

Test method name '[1] userObj=User(username=xxx, password=yyyy)'

@roaamagdy roaamagdy added bug Something isn't working triage needs to be looked at labels Nov 20, 2024
@MohabMohie MohabMohie added enhancement New feature or request java Pull requests that update Java code and removed bug Something isn't working triage needs to be looked at labels Feb 15, 2025
@MohabMohie
Copy link
Contributor

should research if it's doable to hide this from logs, since it looks like this is the default behaviour of the underlying test framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

2 participants