Can logger property still be used in version above 4.0.0? #110
-
Hi everyone, I am migrating from 3.1.0 to 4.1.4 and saw we no longer have ILogger class in csrguard 4.1.4 jar. In our application we set logger property to our custom logger java file which implements ILogger.java org.owasp.csrfguard.logger = com.project.csrfguardLogger The csrfguardLogger implements the ILogger.java from the jar. So, my questions is, what changes need to be done for the logging from our side? How is logging is done in newer versions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @itachiuchihamadara, The logging mechanism has been replaced by SLF4J. You just need to add any implementation to your dependencies and it should work out of the box. We have a test application set up with LogBack. You can use that to play around with different configuration. Related ticket in which the implementation was done: #30 |
Beta Was this translation helpful? Give feedback.
Hello @itachiuchihamadara,
The logging mechanism has been replaced by SLF4J. You just need to add any implementation to your dependencies and it should work out of the box. We have a test application set up with LogBack. You can use that to play around with different configuration.
Related ticket in which the implementation was done: #30