EY interview question

How to mask usernames and passwords during Logging in Springboot applications