I forgot to mention that I actually need to place this into log4j.xml and
not the log4j.properties file for the version we are still using, 3.5.2.1

So, I am probably looking at *something* like this ..

  <appender name="utilHttpClient" class="
org.apache.log4j.varia.StringMatchFilter">

    <param name="StringToMatch" value="WARN [org.jasig.cas.util.HttpClient]
- Error Sending message to url endpoint" />

    <param name="AcceptOnMatch" value="false" />

  </appender>


YES YES : we are waiting for the new VM with tomcat 8 so we can migrate to
CAS 5.4.x.  But today, removing these warnings would greatly improve our
ability to diagnose failures to target servers.

Linda


---------------
*Education is the most powerful weapon which you can use to change the
world.  Nelson Mandela*

Linda Toth
University of Alaska - Office of Information Technology (OIT) - Identity
and Access Management
2025 Yukon Drive, Suite 103
Fairbanks, Alaska 99775
Tel: 907-450-8320
Fax: 907-450-8381
[email protected] | www.alaska.edu/oit/



On Fri, May 10, 2019 at 12:51 PM Linda Toth <[email protected]> wrote:

> I want to remove warnings for this type of message in log4j.xml
>
> WARN [org.jasig.cas.util.HttpClient] - Error Sending message to url
> endpoint
>
>
> I have not modified that file in a long time, so I am asking confirmation
> that this will do the job:
>
>
>
>    1. log4j.appender.file.filter.01=org.apache.log4j.varia.StringMatchFilter
>    2. log4j.appender.file.filter.01.StringToMatch=WARN 
> [org.jasig.cas.util.HttpClient] - Error Sending message to url endpoint
>    3. log4j.appender.file.filter.01.AcceptOnMatch=false
>
>
> Linda
> ---------------
> *Education is the most powerful weapon which you can use to change the
> world.  Nelson Mandela*
>
> Linda Toth
> University of Alaska - Office of Information Technology (OIT) - Identity
> and Access Management
> 2025 Yukon Drive, Suite 103
> Fairbanks, Alaska 99775
> Tel: 907-450-8320
> Fax: 907-450-8381
> [email protected] | www.alaska.edu/oit/
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAOi1v6PpoBfuOUiixE6AQFEeTninB1XvrvJMxViP1tzsYOTfPA%40mail.gmail.com.

Reply via email to