We are using JSON format so that its more Filebeat friendly, did you also configure in your cas.properties? We didn’t have to change anything in the log4j xml besides enabling the audit file, the properties are below which comes from https://apereo.github.io/cas/6.2.x/configuration/Configuration-Properties.html#slf4j-audits cas.audit.slf4j.auditFormat=JSON cas.audit.slf4j.singlelineSeparator=| cas.audit.slf4j.useSingleLine=true cas.audit.slf4j.enabled=true From: Bryan Wooten I know this is more of a log4j question, but my google foo is not working. My log4j2.xml has this: <RollingFile name="auditlogfile" fileName="/etc/cas/logs/cas_audit.log" append="true" Does anyone have an example showing a JSON PatternLayout? -Bryan University of Utah -- - 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/2E53CF11-E387-4241-BB35-1D29D77C4014%40hxcore.ol. |
- [cas-user] JSON log file format Bryan Wooten
- RE: [cas-user] JSON log file format Jason Everling
- Re: [cas-user] JSON log file format Bryan Wooten
