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

Hide the value of USERNAME in the JVM crash log #70

Open
RisingInIris2017 opened this issue Apr 22, 2023 · 0 comments
Open

Hide the value of USERNAME in the JVM crash log #70

RisingInIris2017 opened this issue Apr 22, 2023 · 0 comments

Comments

@RisingInIris2017
Copy link

RisingInIris2017 commented Apr 22, 2023

I must first admit that I am not a professional programmer, so I apologize if any irregularities in the terminology used in the rest of this article cause you any inconvenience in understanding.

The "JVM crash logs" I describe are generated when JVM crashes, which often have a file name like hs_err_pid<number>.log.

This log is an example: https://mclo.gs/3BsZafd

I always use mclogs to post them when they are required.
I find that, mclogs will hide all username in logs, when the username is presented in the directory of User folder, like this:
C:\Users\********\AppData\Local

However, the JVM crash log have a line like:
USERNAME=<current user name logged in>
But the user name in this line is not hidden, so all the other desensitization work is done for nothing.
You will see <Here it is> because I desensitized that manually.

This is all I have to give feedback.
Thanks in advance for your kind-hearted helps.

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

No branches or pull requests

1 participant