<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 9/12/19 11:04 AM, Malo Toudic wrote:<br>
</div>
<blockquote type="cite"
cite="mid:281106c7-dd0d-5ffa-7b65-06ab2378ffaf@kereval.com">
<br>
- Save theses messages directly in the database (in this case a
PostgrelSQL database)
<br>
<br>
</blockquote>
<p><br>
</p>
<p>Yes. There are 2 main things to know:</p>
<p>1) there is a Logback appender for RDBMSes:</p>
<p><a class="moz-txt-link-freetext" href="https://logback.qos.ch/manual/appenders.html#DBAppender">https://logback.qos.ch/manual/appenders.html#DBAppender</a></p>
<p>2) The protocol messages are written on DEBUG level to a special
logging category called "PROTOCOL_MESSAGE" as described here:<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://wiki.shibboleth.net/confluence/display/IDP30/LoggingConfiguration#LoggingConfiguration-LoggingCategories">https://wiki.shibboleth.net/confluence/display/IDP30/LoggingConfiguration#LoggingConfiguration-LoggingCategories</a></p>
<p>Combining those 2 things together should allow you to define a DB
appender which only gets log entries from that category. <br>
</p>
</body>
</html>