Skip to content

Conversation

@prachimaskar
Copy link
Contributor

This PR replaces the previous PR #4196, which was closed automatically after the C++20 branch was deleted.

Changes:
Refactored SSH process logging to strip full file paths and display only the filename using std::source_location and consteval.

Why this PR is needed:
Improves log readability.
Enhances security by avoiding exposure of full file paths.

@prachimaskar
Copy link
Contributor Author

Hi @ricab and @xmkg 🙂
The original PR got closed automatically after the C++20 branch was deleted.
I’ve opened a new PR with the same changes (replacing #4196).
I’ll tag you both here for review 🙏

Copy link
Collaborator

@ricab ricab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @prachimaskar, I think you forgot something. Please remember to test before submitting.

@prachimaskar
Copy link
Contributor Author

Hi @ricab,

Apologies for the earlier oversight. I have now implemented the suggested changes, including updating the log calls and adding the required include. Kindly review at your convenience. Thank you for your guidance and support.

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.

2 participants