You must log in or register to comment.
I worked at a company that handled sensitive data and we always had to pay special attention to logs in code reviews to make sure someone wasn’t inadvertently logging something that could potentially be private.
There’s sometimes cases people don’t think of ahead of time. For example if you log stack traces, they may contain details about the arguments passed to functions.