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

Trace flag doesn't work with --strip-linebreaks #533

Open
jwitz opened this issue Dec 2, 2024 · 4 comments
Open

Trace flag doesn't work with --strip-linebreaks #533

jwitz opened this issue Dec 2, 2024 · 4 comments
Labels

Comments

@jwitz
Copy link

jwitz commented Dec 2, 2024

What happened?

After upgrading from 9.12 to 11.3, using --trace true gives the same output as without using the flag.

What did you expect to happen?

The command should output debugging and trace logs, currently it is showing neither.

How can we reproduce the behavior you experienced?

Run the same command with and without --trace true. The output is the same.

This was identified when trying to debug a 400 error from Confluence.

Further Information (please complete the following information)

  • Mark Version (mark --version): 11.1
  • Mark Parameters: --trace true
  • Environment specific Information: [e.g. running in Github Actions, or on Mac OS X, etc.]: Jenkins pipeline on Linux
@jwitz jwitz added the bug label Dec 2, 2024
@mrueg
Copy link
Collaborator

mrueg commented Dec 3, 2024

Thanks for the report! Could you test with the versions released between v9.3 and v11.3, at which version the trace command stops failing for you?

@jwitz
Copy link
Author

jwitz commented Dec 3, 2024

@mrueg My apologies, this is not an upgrade bug but rather a bug that occurs when --strip-linebreaks is specified with --trace. On 11.3, confirmed trace logs work but stop showing if also configured with --strip-linebreaks

@mrueg
Copy link
Collaborator

mrueg commented Dec 4, 2024

for my understanding: and this bug is not on 9.12? Could you maybe test v10 and v11? That would help me limit the changes that could cause it.

@jwitz jwitz changed the title Trace flag no longer works Trace flag doesn't work with --strip-linebreaks Dec 17, 2024
@jwitz
Copy link
Author

jwitz commented Dec 17, 2024

@mrueg I just checked: This bug is present in both v11 and v9, since 9.10.0 when the strip-linebreaks flag was first introduced.

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

No branches or pull requests

2 participants