Logging configuration

The Connect2id server uses the popular Log4j 2 framework to handle logging.

Key features:

The Log4j configuration file is located in the WEB-INF directory of the web application:


Please, refer to the Log4j manual for how to edit the configuration file.

The default Log4j configuration file that ships with the Connect2id server looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="error" name="C2idServer" packages="">
        <!-- Log file location uses Tomcat system variable, change for other web servers -->
        <RollingFile name="RollingFile"
                <Pattern>%d{ISO8601} %p %t %c{1} - %m%n</Pattern>
                <TimeBasedTriggeringPolicy />
                <SizeBasedTriggeringPolicy size="250 MB"/>
        <Root level="debug">
            <AppenderRef ref="RollingFile"/>