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:
- log4j.appender.file.filter.01=org.apache.log4j.varia.StringMatchFilter
- log4j.appender.file.filter.01.StringToMatch=WARN [org.jasig.cas.util.HttpClient] - Error Sending message to url endpoint
- log4j.appender.file.filter.01.AcceptOnMatch=false
Linda
<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>
I forgot to mention that I actually need to place this into log4j.xml andnot 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 toCAS 5.4.x. But today, removing these warnings would greatly improve ourability to diagnose failures to target servers.Linda---------------
*Education is the most powerful weapon which you can use to change theworld. Nelson Mandela*
Linda TothUniversity of Alaska - Office of Information Technology (OIT) - Identityand Access Management2025 Yukon Drive, Suite 103Fairbanks, Alaska 99775Tel: 907-450-8320Fax: 907-450-8381Linda...@alaska.edu|www.alaska.edu/oit/On Fri, May 10, 2019 at 12:51 PM Linda Toth <ltt...@alaska.edu> wrote:
I want to remove warnings for this type of message in log4j.xmlWARN [org.jasig.cas.util.HttpClient] - Error Sending message to urlendpointI have not modified that file in a long time, so I am asking confirmationthat this will do the job:
1. log4j.appender.file.filter.01=org.apache.log4j.varia.StringMatchFilter2. log4j.appender.file.filter.01.StringToMatch=WARN [org.jasig.cas.util.HttpClient] - Error Sending message to url endpoint3. log4j.appender.file.filter.01.AcceptOnMatch=falseLinda---------------*Education is the most powerful weapon which you can use to change theworld. Nelson Mandela*
Linda TothUniversity of Alaska - Office of Information Technology (OIT) - Identityand Access Management2025 Yukon Drive, Suite 103Fairbanks, Alaska 99775Tel: 907-450-8320Fax: 907-450-8381Linda...@alaska.edu|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 cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/f0f66523a2d687b512476a1b051fca5a3abbe926.camel%40uvic.ca.