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

feat: log stacktrace with just file, function name and line number #751

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mkanoor
Copy link
Contributor

@mkanoor mkanoor commented Mar 7, 2025

A regular stack trace will print out args, data which can lead to security leak. So we want to limit the stack trace to just

  • source file name
  • function name
  • line number

This will help users debug their source plugins etc, otherwise it would be very challenging where the code has issues

https://issues.redhat.com/browse/AAP-41261
stacktrace

@mkanoor mkanoor force-pushed the log_stacktrace branch 2 times, most recently from 7f7382d to a99e4c0 Compare March 7, 2025 17:50
A regular stack trace will print out args, data which can lead
to security leak. So we want to limit the stack trace to just
* source file name
* function name
* line number

This will help users debug their source plugins etc, otherwise
it would be very challenging to locate where the code has issues

https://issues.redhat.com/browse/AAP-41261
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

Successfully merging this pull request may close these issues.

4 participants