question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

✨ Provide grep'able character/ flag to debug log to disable sensitive information for bug reports.

See original GitHub issue

It’s mentioned in README.md that extended/debug logging can expose sensitive data. Preempting the eventual need for sharing bug reports with the pincer dev team, I’d like to both request and then suggest the following:

I’d request that a flag be added to the debug log to disable sensitive information from being written to logs for the sake of data protection/safety. Alternatively produce matched logs with one containing sensitive data, the other without.

Quick suggestion for Linux (be they GNU, alpine or other), and BSD installs:

If the implementation above is deemed too difficult to implement at this stage, possibly add the phrase [shareable] in front of any debug lines that are not sensitive. That way a simple cat "foo.log" | grep [shareable] >> "bar.log" would produce a shareable debug log minus sensitive data, without creating much if any code debt, relying on sys libs and programs guaranteed to have a stable posix interface (cat, grep and the “|” piping mechanism )

The above would strip any and all lines that would have contained sensitive data from foo.log and is a simple mechanism for implementing different logging levels.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Lunarmagpiecommented, Dec 16, 2021

I think the best thing to do here is update our readme since it seems pretty outdated.

0reactions
Lunarmagpiecommented, Jan 1, 2022

The updated readme has been merged

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enhance bug reports with debug profiles and logging
When you file bug reports through Apple's Feedback Assistant, you're helping flag issues, improve our platforms, and make the experience ...
Read more >
Reading bug reports
The following sections detail bug report components, describe common problems, and give helpful tips and grep commands for finding logs ...
Read more >
Security Issue with debug log
We have a rule to disable access to the debug log server wide. I tried to use the for form on their website...
Read more >
Bug Reporting Commands (Nessus Command Line)
You can create a bug report that can be sent to Tenable to help diagnose issues. To see and copy the full command...
Read more >
How to log bug reports
What. Crashes (Segmentation violations, Memory alignment errors, ASSERTs etc...) Please compile from source with the configure flag --enable ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found