---
title: "Discussion on \"LogMasker - OpenSource masking library for Java\" | Hashnode"
description: "Discussion on \"LogMasker - OpenSource masking library for Java\". I am happy to share with you my first open-source project: LogMasker\nLogMasker is a log masking library that makes it easy to mask confidential information directly in the logs. This is done by intercepting the log event and masking it even before it..."
url: "https://hashnode.com/posts/logmasker-opensource-masking-library-for-java/6229ba7f6810179d5b05182b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LogMasker - OpenSource masking library for Java](https://ppopescu.hashnode.dev/logmasker-opensource-masking-library-for-java?utm_source=hashnode&utm_medium=feed)

I am happy to share with you my first open-source project: LogMasker LogMasker is a log masking library that makes it easy to mask confidential information directly in the logs. This is done by intercepting the log event and masking it even before it...

Mar 10, 2022 · 3 min read · ppopescu.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#logging](https://hashnode.com/tag/logging)
-   [#privacy](https://hashnode.com/tag/privacy)

## Written by

[Petre Popescu](https://hashnode.com/@ppopescu)

@ppopescu · Timisoara, Romania

  
[View profile](https://hashnode.com/@ppopescu)

Just another developer?

## Responses 1

Markdown supported · ⌘↵ to post

[Shai Almog](https://hashnode.com/@talktotheduck)

[Mar 10, 2022](https://hashnode.com/posts/logmasker-opensource-masking-library-for-java/6229ba7f6810179d5b05182b/comment/6229dac0e552e99d82e5842b)

Great work!

The name for this is "Personally Identifiable Information Reduction" aka PII Reduction.

I know that because we have that feature in Lightrun. Wasn't aware of that name before this.

[Petre Popescu](https://hashnode.com/@ppopescu)

[Mar 10, 2022](https://hashnode.com/posts/logmasker-opensource-masking-library-for-java/6229ba7f6810179d5b05182b/comment/6229dac0e552e99d82e5842b#reply-6229dc466810179d5b051d75)

Thanks! Hopefully I can develop it further (have a few improvements that I want to make) so any feedback is appreciated. Also, if you have any other maskers that you believe are useful, please let me know so I can implement them.

[Shai Almog](https://hashnode.com/@talktotheduck)

[Mar 10, 2022](https://hashnode.com/posts/logmasker-opensource-masking-library-for-java/6229ba7f6810179d5b05182b/comment/6229dac0e552e99d82e5842b#reply-6229ddb16810179d5b051d9c)

[Petre Popescu](https://hashnode.com/@ppopescu) I'm not really deeply familiar with the field but there's this: [aws.amazon.com/blogs/machine-learning/redacting-p…](https://aws.amazon.com/blogs/machine-learning/redacting-pii-from-application-log-output-with-amazon-comprehend/)

And [github.com/intergral/java-pii-redactor-lib](https://github.com/intergral/java-pii-redactor-lib)

Haven't tried either one, so no real idea. I'm sure there are others.
