"Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information." - Entry from the Common Weakness Enumeration
For more info visit <a href="https://cwe.mitre.org/data/definitions/532.html" target="_blank" rel="noopener noreferrer">CWE-532</a>