Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logg maskert fødselsnummer kun til sikre logger #16

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

magnusae
Copy link
Contributor

Jeg ble litt forvirret av at denne loggen i den gamle Altinn-klienten ble logget til vanlige logger (logger.debug()) og at den allerede var maskert (som fikk meg til å tenke at den var grei for vanlige logger).

Vi har kommet frem til at det ryddigste er å kun ha dette i sikkerLogger.

@magnusae magnusae requested a review from a team as a code owner January 24, 2025 08:28
logger.info(it)
sikkerLogger.info(it)
}
sikkerLogger.info("Henter Altinntilganger fra Fager sitt m2m-endepunkt for ${fnr.take(6)}XXXX")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Endrer sånn at vi like greit tar med hele fødselsdatoen, nå som dette går til sikre logger.

@magnusae magnusae merged commit a561b2d into main Jan 24, 2025
2 checks passed
@magnusae magnusae deleted the ikke_logg_til_aapen_logg branch January 24, 2025 08:44
magnusae added a commit to navikt/helsearbeidsgiver-inntektsmelding that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants