[logback-user] MDC and GDPR

David Roussel nabble at diroussel.xsmail.com
Mon Jan 20 16:06:22 CET 2020

In what way does it leak personal data?

You only add data to the MDC that you want to log.  In general you shouldn’t log personal data, so don’t put it in the MDC.

That is the principle that I stick to.



> On 20 Jan 2020, at 14:23, <dominique.villard at orange.com> <dominique.villard at orange.com> wrote:
> Hi,
> I don’t know if this topic has already been addressed (found no reference).
> With MDC some applicative logs may leak personal data.
> Would it make sense to add a putDigest method to the MDC class that would put a digest (irreversible) of the ‘val’ parameter ?
> Thx.
> /DV
> _________________________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> _______________________________________________
> logback-user mailing list
> logback-user at qos.ch <mailto:logback-user at qos.ch>
> http://mailman.qos.ch/mailman/listinfo/logback-user <http://mailman.qos.ch/mailman/listinfo/logback-user>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20200120/678b3afe/attachment.html>

More information about the logback-user mailing list