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

Option to omit event type prefix in logs #811

Open
RodolfoAndre opened this issue Nov 20, 2023 · 1 comment
Open

Option to omit event type prefix in logs #811

RodolfoAndre opened this issue Nov 20, 2023 · 1 comment

Comments

@RodolfoAndre
Copy link

Is your feature request related to a problem? Please describe.
I am in a process to improve security of an application using ESAPI library. I've noticed that there is an obligatory prefix that, since I have a huge infrastructure, the event type prefix would increase our cost because we use a paid monitoring service.

Describe the solution you'd like
It would help us if there was an optional property in ESAPI.properties file to indicate if the event type prefix log should be included or not when printing logs. (Just from the log message)

Describe alternatives you've considered including other security libraries
An alternative would be when all properties related to prefix append (logUserInfo, logClientInfo, logServerIp, logApplicationName) and the appName is empty or null, this prefix would not be included.

Additional context
I've had a discussion with kwwall with some ideas. I will fork the repo and send the pull request as an example.

@kwwall
Copy link
Contributor

kwwall commented Nov 20, 2023

Reference to Discussion #810.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants