All,
I really should be able to figure this out for myself but I'm frustrated
and might just need someone to show me that I'm spelling something wrong.
I'm trying to get all logs from the CsrfPReventionFilter. I know it's
working because I get 403 responses when it's enabled and don't get them
when it's not. But it's 100% silent and I'm getting no logs.
I've added this to the bottom of the stock conf/logging.properties file:
org.apache.catalina.filters.CsrfPreventionFilter.level = ALL
org.apache.catalina.filters.CsrfPreventionFilter.handlers =
java.util.logging.ConsoleHandler
I shouldn't need the second line, since the default .handlers is
ConsoleHandler and the async handler for catalina.[date].
I'm not seeing anything more detailed than INFO in catalina.out or
catalina.[date]. But...
1catalina.org.apache.juli.AsyncFileHandler.level = ALL
...
java.util.logging.ConsoleHandler.level = ALL
??!
This is Tomcat 9.0.98 on Linux with a stock conf/logging.properties file
(plus my .level=ALL for this filter)
What am I missing?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org