-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Add ability to configure more parameters for p6spy #31
Comments
Hello, I was looking for a way to filter away e-mail addresses and passhashes from the sql logging. |
Hi @Anydag, how do you determine that specific value is an email or a passphrase? |
@gavlyukovskiy , which all parameters of p6spy can be configured via |
@devansh-dalal currently there are couple of properties you can you to configure p6spy - https://github.com/gavlyukovskiy/spring-boot-data-source-decorator#p6spy, not all of them are mapped directly to properties of p6spy. If you have something specific in mind I can help you |
sure, thanks a lot. @gavlyukovskiy . Do you thing we can aggregate all the configurable properties(including like |
Hello Arthur! Great, easy, no frills integration for p6spy into spring boot! Well done! Can i suggest adding the 'sqlexpression' and 'filter' options as parameters? Right now I'm configuring them via spy.properties, but it would be very handy to have these also be included in the parameter list you've assembled. Thank you! |
@wimdetroyer good suggestion, added |
Currently there is a lot of parameters there is p6spy, but only few can be configured from
application.properties/yml
. Most popular are covered using spring-boot like properties, but it might be needed to configure raw properties.The text was updated successfully, but these errors were encountered: