Many projects ask to share lots of logs when reporting issues. It’s difficult to go through all the logs and redact informarion such as usernames, environment variabled etc.

Any ideas on how to anonymize logs before sharing? Change your username to something generic?

  • gigachad@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    3 months ago

    I agree with the other comment. Write a bash or Python script that replaces your username with something generic. That should do it most of the time. If the logs leak some other sensitive data then the developer fucked up. I always quickly scan logs for stuff I don’t want to share.