Store xml messages in database

Brent Putman putmanb at georgetown.edu
Thu Sep 12 12:15:53 EDT 2019


On 9/12/19 11:04 AM, Malo Toudic wrote:
>
> - Save theses messages directly in the database (in this case a
> PostgrelSQL database)
>

Yes.  There are 2 main things to know:

1) there is a Logback appender for RDBMSes:

https://logback.qos.ch/manual/appenders.html#DBAppender

2) The protocol messages are written on DEBUG level to a special
logging category called "PROTOCOL_MESSAGE" as described here:

https://wiki.shibboleth.net/confluence/display/IDP30/LoggingConfiguration#LoggingConfiguration-LoggingCategories

Combining those 2 things together should allow you to define a DB
appender which only gets log entries from that category. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190912/909c155b/attachment.html>


More information about the users mailing list