weizhouapache commented on issue #9512: URL: https://github.com/apache/cloudstack/issues/9512#issuecomment-2309580958
> > > Depending on what that says, I'm not sure if that is an acceptable solution for me, because I want to see the `access.log`, but I don't want to see the passwords in it. > > > > > > in that case it is not acceptable for you and you'll need to sanitise the access log somehow. > > But It makes more sense ( from a security perspective ) to not have the passwords/secrets hit the log in the first place. Sanitizing it after the fact is kinda pointless. > > @rohityadavcloud @weizhouapache Can you please look into removing or obfuscating password information that is making it to access.log or any log for that matter from the actual code and not a retro solution or access.log > /dev/null ? it looks like all credentials in access.log are plain text. ACS uses `NCSARequestLog` class to log request logs. I am not sure if it is possible to hide some information If not , then need to look for another solution. at this moment, I think you have to make a decision @CodeBleu since the API calls are also saved in apilog.log and management-server.log, maybe you can just redirect access.log to /dev/null -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org