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"

 filePattern="/etc/cas/logs/cas_audit-%d{yyyy-MM-dd-HH}-%i.log">
            <PatternLayout pattern="%d %p [%c] - %m%n"/>
            <Policies>
                <OnStartupTriggeringPolicy />
                <SizeBasedTriggeringPolicy size="20 MB"/>
                <TimeBasedTriggeringPolicy />
            </Policies>
        </RollingFile>

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/CAG9x2GVhAMkkTZNho63hxcmOv97bRjJ-rUAM7OmUi94E_kEm-w%40mail.gmail.com.

Reply via email to