For security reasons, I\'m trying to raise an exception if the app is not able to write in the production.log file, for example, an attacker could change the permis
production.log