force.authzforce-ce-restful-pdp-cxf-spring-boot-server.1.2.0.source-code.logback.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authzforce-ce-restful-pdp-cxf-spring-boot-server Show documentation
Show all versions of authzforce-ce-restful-pdp-cxf-spring-boot-server Show documentation
AuthzForce - RESTful PDP service based on Apache CXF/Spring Boot that is compliant with REST Profile of XACML 3.0, and consumes/produces both XACML-XML and XACML-JSON-Profile-compliant requests/responses
<?xml version="1.0" encoding="UTF-8"?> <!-- For assistance related to logback-translator or configuration --> <!-- files in general, please contact the logback user mailing list --> <!-- at http://www.qos.ch/mailman/listinfo/logback-user --> <!-- --> <!-- For professional support please see --> <!-- http://www.qos.ch/shop/products/professionalSupport --> <!-- --> <!-- More information: http://logback.qos.ch/faq.html#sharedConfiguration --> <!-- - RollingAppender: http://logback.qos.ch/manual/appenders.html#RollingFileAppender --> <!-- For logging in Spring Boot environment: https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html --> <configuration> <include resource="org/springframework/boot/logging/logback/base.xml" /> <!-- <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender"> --> <!-- <encoder> --> <!-- <pattern>%date{ISO8601} %-5level [%thread] %logger:%line: %msg%n</pattern> --> <!-- </encoder> --> <!-- </appender> --> <!-- Change log directory according to your deployment container. Examples below for Tomcat. For Glassfish: ${com.sun.aas.instanceRoot}/logs --> <!-- <appender name="error" class="ch.qos.logback.core.rolling.RollingFileAppender"> --> <!-- See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender --> <!-- <File>${catalina.base}/logs/authzforce-ce/error.log</File> --> <!-- <encoder> --> <!-- <pattern>%date{ISO8601}|%-5level|%thread|%logger:%line|%msg|%n</pattern> --> <!-- Pattern mitigating CRLF injection --> <!-- <pattern>%date{ISO8601}|%-5level|%thread|%logger:%line|%replace(%msg){'\r?\n','<NEWLINE>'}|%n</pattern> --> <!-- </encoder> --> <!-- <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> --> <!-- <maxIndex>1</maxIndex> --> <!-- <FileNamePattern>${catalina.base}/logs/authzforce-ce/error.log.%i</FileNamePattern> --> <!-- </rollingPolicy> --> <!-- <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> --> <!-- <MaxFileSize>100KB</MaxFileSize> --> <!-- </triggeringPolicy> --> <!-- </appender> --> <!-- Enable 'access' appender only if you need application-level access logging --> <!-- <appender name="access" class="ch.qos.logback.core.rolling.RollingFileAppender"> --> <!-- <File>${catalina.base}/logs/authzforce-ce/access.log</File> --> <!-- <encoder> --> <!-- <pattern>%date{ISO8601}|%msg|%n</pattern> --> <!-- </encoder> --> <!-- <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> --> <!-- <maxIndex>1</maxIndex> --> <!-- <FileNamePattern>${catalina.base}/logs/authzforce-ce/access.log.%i</FileNamePattern> --> <!-- </rollingPolicy> --> <!-- <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> --> <!-- <MaxFileSize>100KB</MaxFileSize> --> <!-- </triggeringPolicy> --> <!-- </appender> --> <!-- <appender name="accessAsync" class="ch.qos.logback.classic.AsyncAppender"> <appender-ref ref="access" /> </appender> --> <!-- Dumping HTTP requests and response with their headers for access logging. More info: http://blog.xebia.fr/2013/10/10/logs-daudit-pour-les-services-rest/ Use "accessAsync" appender for better performance (asynchronous logging) --> <!-- <logger name="RequestLoggerFilter.request" level="DEBUG" additivity="false"> --> <!-- <appender-ref ref="access"/> --> <!-- </logger> --> <!-- <logger name="RequestLoggerFilter.response" level="DEBUG" additivity="false"> --> <!-- <appender-ref ref="access"/> --> <!-- </logger> --> <!-- <logger name="RequestLoggerFilter.headers" level="INFO" additivity="false"> --> <!-- <appender-ref ref="access"/> --> <!-- </logger> --> <logger name="org.ow2.authzforce" additivity="false" level="WARN" /> <!-- HTTP/JAX-RS/SOAP request/response debugging --> <!-- For logging request/response to/from webapp, only logger "org.apache.cxf" in level INFO is required, and you must add CXF org.apache.cxf.interceptor.LoggingInInterceptor/LoggingOutInterceptor to JAX-RS server's in/outInterceptors --> <!-- <logger name="org.apache.cxf" additivity="false" level="DEBUG" /> --> <!-- <logger name="org.apache.http" additivity="false" level="DEBUG" /> --> <!-- <logger name="org.apache.http.wire" level="DEBUG" /> --> </configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy