Harry,

It looks like a config error in log4j2.xml. The log system is unable to find 
the definition for the CasAppenders; 'file' in the case of 'casFile'.
Perhaps there is a typo, have you modified this file?

Also, verify that cas is picking up the file in the location that you think it 
is.
To debug log4j2, 
https://logging.apache.org/log4j/2.x/manual/configuration.html#SystemProperties
pass -Dlog4j2.debug to the jvm on start.

Ray

On Tue, 2022-04-05 at 16:50 -0700, Harry M wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Would anyone be able to provide pointers with regards to the pesky Error 
processing element CasAppender" (full error log in italics below).

As far as I can determine the properties and permissions are set appropriately 
(and files in the expected locations).

Any pointers where to debug further?

Details:
cas.version=6.5.2

/etc/cas/config/log4j2.xml:
<Property name="baseDir">/var/log/cas</Property>
Permissions have been set for above path.


2022-04-05 16:19:59,871 localhost-startStop-1 ERROR Error processing element 
CasAppender ([Appenders: null]): CLASS_NOT_FOUND
2022-04-05 16:19:59,877 localhost-startStop-1 ERROR Error processing element 
CasAppender ([Appenders: null]): CLASS_NOT_FOUND
2022-04-05 16:19:59,877 localhost-startStop-1 ERROR Error processing element 
CasAppender ([Appenders: null]): CLASS_NOT_FOUND
2022-04-05 16:19:59,877 localhost-startStop-1 ERROR Error processing element 
CasAppender ([Appenders: null]): CLASS_NOT_FOUND
2022-04-05 16:20:00,403 localhost-startStop-1 ERROR Unable to locate appender 
"casFile" for logger config "root"
2022-04-05 16:20:00,403 localhost-startStop-1 ERROR Unable to locate appender 
"casConsole" for logger config "root"
2022-04-05 16:20:00,404 localhost-startStop-1 ERROR Unable to locate appender 
"casStackTraceFile" for logger config "root"
2022-04-05 16:20:00,404 localhost-startStop-1 ERROR Unable to locate appender 
"casConsole" for logger config "org.apereo.inspektr.audit.support"
2022-04-05 16:20:00,404 localhost-startStop-1 ERROR Unable to locate appender 
"casFile" for logger config "org.apereo.inspektr.audit.support"
2022-04-05 16:20:00,404 localhost-startStop-1 ERROR Unable to locate appender 
"casAudit" for logger config "org.apereo.inspektr.audit.support"

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>

I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory 
the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose 
historical relationships with the land continue to this day.

-- 
- 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/8259b9733b92bfaa29755194c62a405d89ad3492.camel%40uvic.ca.

Reply via email to