comparison src/main/webapp/WEB-INF/classes/log4j2.json @ 436:8157dd28aba7

Added log4j2 config file.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Feb 2015 13:35:47 +0100
parents
children
comparison
equal deleted inserted replaced
435:2b58a86ca06f 436:8157dd28aba7
1 {
2 "configuration": {
3 "status": "error",
4 "name": "LadaLogger",
5 "properties": {
6 "property": [{
7 "name": "filename",
8 "value": "lada-test.log"
9 }, {
10 "name": "directory",
11 "value": "../log"
12 }]
13 },
14 "appenders": {
15 "RollingFile": {
16 "name": "File",
17 "fileName": "${directory}/${filename}",
18 "filePattern": "${directory}/${date:yyyy-MM}/test-%d{MM-dd-yyyy}-%i.log",
19 "patternLayout": {
20 "pattern": "%d %p %logger: %m%n"
21 },
22 "policies": {
23 "SizeBasedTriggeringPolicy": {
24 "size": "2 MB"
25 }
26 },
27 "DefaultRolloverStrategy": {
28 "max": "10"
29 }
30 }
31 },
32 "loggers": {
33 "root": {
34 "level": "debug",
35 "appender-ref": {
36 "ref": "File"
37 }
38 }
39 }
40 }
41 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)