WORKERS AHEAD!
You are viewing the development documentation for the Apereo CAS server. The functionality presented here is not officially released yet. This is a work in progress and will be continually updated as development moves forward. You are most encouraged to test the changes presented.
Logstash Logging
CAS logging framework has the ability route log messages to a TCP/UDP endpoint.
This configuration assumes that the Logstash server has enabled its TCP input on port 9500
:
1
2
3
4
5
6
7
8
9
10
11
12
13
...
<Appenders>
<Socket name="socket" host="localhost" connectTimeoutMillis="3000"
port="9500" protocol="TCP" ignoreExceptions="false">
<SerializedLayout />
</Socket>
</Appenders>
...
<Logger name="org.apereo" additivity="true" level="debug">
<appender-ref ref="cas" />
<appender-ref ref="socket" />
</Logger>
...