-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Keith,
On 7/22/14, 10:13 AM, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC, 54350 wrote: > Chris, > > Quick question, I upgraded to 7.0.54 with new user/pass. My issue > is that these credentials will not log me in to ANY management > function going through the GUI??? If I append the WEBAPP Tho the > url http://localhost\web app name this launches the app - but still > I need to access all CmcApps via the GUI. Any ideas? Please don't hijack threads. If you have a question, please create a new email message to users@tomcat.apache.org, give it a new subject, and don't address it to a single person (like me). This is a community and not a one-on-one help desk. Thanks, - -chris > -----Original Message----- From: Christopher Schultz > [mailto:ch...@christopherschultz.net] Sent: Tuesday, July 22, 2014 > 9:09 AM To: Tomcat Users List Subject: Re: Conditional logging > > Kris, > > On 7/21/14, 6:43 PM, Dames, Kristopher J wrote: >> Can anyone point me to an example of conditional logging in >> Tomcat 6? Here is what I have tried to no avail. I want requests >> that match /*/iaahb to not be logged. > >> In my server.xml: > >> <Valve className="org.apache.catalina.valves.AccessLogValve" >> condition="DoNotLog" directory="logs" fileDateFormat="yyyy-MM-dd" >> pattern="%{X-Forwarded-For}i %h %l %u %t "%r" %s %b >> "%{Referer}i" "%{User-Agent}i"" > >> prefix="access_log"/> > >> in my web.xml: > >> <!-- Custom filter to prevent logging health check requests --> >> <filter> <filter-name>Set Do Not Log Attribute</filter-name> >> <filter-class>SetDoNotLogFilter</filter-class> <init-param> >> <param-name>DoNotLog</param-name> <param-value>true</param-value> >> </init-param> </filter> <filter-mapping> <filter-name>Set Do Not >> Log Attribute</filter-name> <url-pattern>/*/iaahb</url-pattern> >> </filter-mapping> > > On the face of it, this looks like it should work. What does your > "SetDoNoLogFilter" code look like? > > -chris > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTzosRAAoJEBzwKT+lPKRYFqsP/3iU9G9ILLqxHD3ZEnmc+2xl VCgQFM3ljw4E9eXjzPsJWN06uD8NT42eRhsT4GhwQAadmmv1uartLZx0V0r47u2A YNyBuAXgHjvKby5L+aF3DPoTzH/M+WnUpfpfdJeq0rFYGslDW4vqRjGOyi/Y7wrC QxDedf3zcDHZUQTqxVQQOH2aklI7mhryy508jj4T7f2tiZEtg0T7Rcu2q+FW3+84 ZvgQc9P0dqvBsq/7iQUcjpNeXuCxu1twQduJL5GiAE1xtD/1+B4lugCtOyD9OPjY dvSvub/30cLfdOwm6K/tO544I3TTFHkN71TVszZaMLvx6ZvLPlt4FdsE6KLTRVD3 7JJDxglvzFoNo0tjTGoZreg+ZbY1aiEiJy/7/Xbhm/1hvOtftTioR3omxcMrKjbG GCuDx9TYhQgzZfCRdd6d9IxQZd4QUvmMI04BINvGtPGxGoi5S4Jpdhm4dz3mzix3 vmdnrfAGE5j6LljZUUvm89XqCWvcf20i0g5zXnegHI50P6PYl83n33pwoz8U0fOR UJspV2P32LPZYM0DTmVN7UUTuGggWouI8FI6MaSbx7Eqe+MrfbND1Qwn7tZd0V0y oSjmNYMckaQppNhiH3rsVWL/ZCJ2AMsim2C7i+lJH2qOpHdnr8MO4iQrStN70v43 BN6Gsiq+reDhj2otqU/s =Dp2M -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org