Unicon / shibboleth-idp-dockerized

A Shibboleth Identity Provider (IdP) base-image
Apache License 2.0
108 stars 54 forks source link

Add a way to customize log Pattern in logback.xml #44

Closed lrhazi closed 7 years ago

lrhazi commented 7 years ago

It would be cool if you could add a way to set this in idp.properties maybe?

<appender name="IDP_PROCESS" class="ch.qos.logback.core.ConsoleAppender">
        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <charset>UTF-8</charset>
            <Pattern>%date{ISO8601} - %level [%logger:%line] - [%mdc{idp.jsessionid}] -  %msg%n%ex{short}</Pattern>
        </encoder>

Thanks a lot, Mohamed.

mmoayyed commented 7 years ago

You are more than welcome to submit a pull request that takes care of this. Please do.