"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-core/src/test/resources/log4j-config.json" (20 Dec 2021, 1433 Bytes) of package /linux/misc/apache-log4j-2.12.4-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2     "configuration": {
    3         "status": "debug"
    4         ,"name": "Test-Logging"
    5         ,"monitorInterval":30
    6         ,"packages": "org.apache.logging.log4j.core"
    7         ,"ThresholdFilter": { "level": "all" }
    8         ,"properties": {
    9             "property": { "name" : "theLogName"
   10                 ,"value" : "test-logging2.log"
   11             }
   12         }
   13         ,"appenders": {
   14             "Console": {
   15                 "name": "stdout"
   16                 ,"target":"SYSTEM_OUT"
   17                 ,"ignoreExceptions":false
   18                 ,"PatternLayout": {
   19                     "pattern": "%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n"
   20                 }
   21             }
   22             ,"File": {
   23                 "name": "fileout"
   24                 ,"immediateFlush": true
   25                 ,"PatternLayout": {
   26                     "pattern":"%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n"
   27                 }
   28                 ,"fileName":"${map:theLogName}"
   29             }
   30         }
   31         ,"loggers": {
   32             "logger": {
   33                 "name": "TestLogger"
   34                 ,"level": "DEBUG"
   35                 ,"additivity": "true"
   36                 ,"bufferedIO": true
   37                 ,"bufferSize": 16384
   38                 ,"AppenderRef": {
   39                     "ref":"fileout"
   40                 }
   41             }
   42             ,"root": {
   43                 "level": "ALL"
   44                 ,"AppenderRef": { "ref": "stdout" }
   45             }
   46         }
   47     }
   48 }