Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleJOC Cockpit log4j2.xml
linenumberstrue
collapsetrue
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
        <Properties>
                <Property name="TimeZone">{Etc/UTC}<>Etc/UTC</Property>
                <Property name="RetainDays">30d</Property>
                <Property name="NumOfFilesPerDayMaxSizeOfRolledOverFiles">5<>5 GB</Property>
                <Property name="MaxSizePerFile">100MB<>100 MB</Property>

         
        <!--Configuration forLog loggerslevel of the web services in joc.log
                        Possibly values are ERROR, WARN, INFO, DEBUG, TRACE
                        Default: INFO
                Root Logger. -->
                <Property name="RootLogLevel">info<>INFO</Property>

                <!--Configuration Configurations for an2nd extra databasedebug log filefiles (database-debug.log) if necessaryOFF|DEBUG|TRACE)
             If one of these values is set to    OFF: without extra log
                        ERROR, WARN, INFO, DEBUG, TRACE: creates extra log with corresponding log levelDEBUG or TRACE then the above
             RootLogLevel has to have the       SQL statement are included from DEBUG and their binding with TRACEsame value.
                -->
                <Property name="DatabaseLogLevelJocLogLevel">off<>OFF</Property>

                <!--Configuration for an extra shiro log file (shiro.log) if necessary<Property name="ClusterLogLevel">OFF</Property>
                        OFF: without extra log<Property name="HistoryLogLevel">OFF</Property>
                        ERROR, WARN, INFO, DEBUG, TRACE: creates extra log with corresponding log level<Property name="DailyPlanLogLevel">OFF</Property>
                        SQL statement are included from DEBUG and their binding with TRACE<Property name="CleanupLogLevel">OFF</Property>
                -->
   <Property name="AuthLogLevel">OFF</Property>
             <Property name="AuthLogLevelConnectionPoolLogLevel">off<>OFF</Property>
        </Properties>
        ...
<Configuration>

Explanations:

...