Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "timeMillis": 1,
- "thread": "MyThreadName",
- "level": "DEBUG",
- "loggerName": "a.B",
- "marker": {
- "name": "Marker1",
- "parents": [{
- "name": "ParentMarker1",
- "parents": [{
- "name": "GrandMotherMarker"
- }, {
- "name": "GrandFatherMarker"
- }]
- }, {
- "name": "GrandFatherMarker"
- }]
- },
- "message": "Msg",
- "thrown": {
- "cause": {
- "commonElementCount": 27,
- "extendedStackTrace": [{
- "class": "org.apache.logging.log4j.core.layout.LogEventFixtures",
- "method": "createLogEvent",
- "file": "LogEventFixtures.java",
- "line": 53,
- "exact": false,
- "location": "test-classes/",
- "version": "?"
- }],
- "localizedMessage": "testNPEx",
- "message": "testNPEx",
- "name": "java.lang.NullPointerException"
- },
- "commonElementCount": 0,
- "extendedStackTrace": [{
- "class": "org.apache.logging.log4j.core.layout.LogEventFixtures",
- "method": "createLogEvent",
- "file": "LogEventFixtures.java",
- "line": 56,
- "exact": true,
- "location": "test-classes/",
- "version": "?"
- }, {
- "class": "org.apache.logging.log4j.core.layout.JSONLayoutTest",
- "method": "testAllFeatures",
- "file": "JSONLayoutTest.java",
- "line": 105,
- "exact": true,
- "location": "test-classes/",
- "version": "?"
- }, {
- "class": "org.apache.logging.log4j.core.layout.JSONLayoutTest",
- "method": "testLocationOnCompactOnMdcOn",
- "file": "JSONLayoutTest.java",
- "line": 269,
- "exact": true,
- "location": "test-classes/",
- "version": "?"
- }, {
- "class": "sun.reflect.NativeMethodAccessorImpl",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "sun.reflect.NativeMethodAccessorImpl",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "sun.reflect.DelegatingMethodAccessorImpl",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "java.lang.reflect.Method",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "org.junit.runners.model.FrameworkMethod$1",
- "method": "runReflectiveCall",
- "file": "FrameworkMethod.java",
- "line": 47,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.model.ReflectiveCallable",
- "method": "run",
- "file": "ReflectiveCallable.java",
- "line": 12,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.model.FrameworkMethod",
- "method": "invokeExplosively",
- "file": "FrameworkMethod.java",
- "line": 44,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.statements.InvokeMethod",
- "method": "evaluate",
- "file": "InvokeMethod.java",
- "line": 17,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "runLeaf",
- "file": "ParentRunner.java",
- "line": 271,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.BlockJUnit4ClassRunner",
- "method": "runChild",
- "file": "BlockJUnit4ClassRunner.java",
- "line": 70,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.BlockJUnit4ClassRunner",
- "method": "runChild",
- "file": "BlockJUnit4ClassRunner.java",
- "line": 50,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner$3",
- "method": "run",
- "file": "ParentRunner.java",
- "line": 238,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner$1",
- "method": "schedule",
- "file": "ParentRunner.java",
- "line": 63,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "runChildren",
- "file": "ParentRunner.java",
- "line": 236,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "access$000",
- "file": "ParentRunner.java",
- "line": 53,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner$2",
- "method": "evaluate",
- "file": "ParentRunner.java",
- "line": 229,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.statements.RunBefores",
- "method": "evaluate",
- "file": "RunBefores.java",
- "line": 26,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.statements.RunAfters",
- "method": "evaluate",
- "file": "RunAfters.java",
- "line": 27,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "run",
- "file": "ParentRunner.java",
- "line": 309,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference",
- "method": "run",
- "file": "JUnit4TestReference.java",
- "line": 50,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.TestExecution",
- "method": "run",
- "file": "TestExecution.java",
- "line": 38,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "runTests",
- "file": "RemoteTestRunner.java",
- "line": 467,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "runTests",
- "file": "RemoteTestRunner.java",
- "line": 683,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "run",
- "file": "RemoteTestRunner.java",
- "line": 390,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "main",
- "file": "RemoteTestRunner.java",
- "line": 197,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }],
- "localizedMessage": "testIOEx",
- "message": "testIOEx",
- "name": "java.io.IOException",
- "suppressed": [{
- "commonElementCount": 0,
- "extendedStackTrace": [{
- "class": "org.apache.logging.log4j.core.layout.LogEventFixtures",
- "method": "createLogEvent",
- "file": "LogEventFixtures.java",
- "line": 57,
- "exact": true,
- "location": "test-classes/",
- "version": "?"
- }, {
- "class": "org.apache.logging.log4j.core.layout.JSONLayoutTest",
- "method": "testAllFeatures",
- "file": "JSONLayoutTest.java",
- "line": 105,
- "exact": true,
- "location": "test-classes/",
- "version": "?"
- }, {
- "class": "org.apache.logging.log4j.core.layout.JSONLayoutTest",
- "method": "testLocationOnCompactOnMdcOn",
- "file": "JSONLayoutTest.java",
- "line": 269,
- "exact": true,
- "location": "test-classes/",
- "version": "?"
- }, {
- "class": "sun.reflect.NativeMethodAccessorImpl",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "sun.reflect.NativeMethodAccessorImpl",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "sun.reflect.DelegatingMethodAccessorImpl",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "java.lang.reflect.Method",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "org.junit.runners.model.FrameworkMethod$1",
- "method": "runReflectiveCall",
- "file": "FrameworkMethod.java",
- "line": 47,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.model.ReflectiveCallable",
- "method": "run",
- "file": "ReflectiveCallable.java",
- "line": 12,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.model.FrameworkMethod",
- "method": "invokeExplosively",
- "file": "FrameworkMethod.java",
- "line": 44,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.statements.InvokeMethod",
- "method": "evaluate",
- "file": "InvokeMethod.java",
- "line": 17,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "runLeaf",
- "file": "ParentRunner.java",
- "line": 271,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.BlockJUnit4ClassRunner",
- "method": "runChild",
- "file": "BlockJUnit4ClassRunner.java",
- "line": 70,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.BlockJUnit4ClassRunner",
- "method": "runChild",
- "file": "BlockJUnit4ClassRunner.java",
- "line": 50,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner$3",
- "method": "run",
- "file": "ParentRunner.java",
- "line": 238,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner$1",
- "method": "schedule",
- "file": "ParentRunner.java",
- "line": 63,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "runChildren",
- "file": "ParentRunner.java",
- "line": 236,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "access$000",
- "file": "ParentRunner.java",
- "line": 53,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner$2",
- "method": "evaluate",
- "file": "ParentRunner.java",
- "line": 229,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.statements.RunBefores",
- "method": "evaluate",
- "file": "RunBefores.java",
- "line": 26,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.statements.RunAfters",
- "method": "evaluate",
- "file": "RunAfters.java",
- "line": 27,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "run",
- "file": "ParentRunner.java",
- "line": 309,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference",
- "method": "run",
- "file": "JUnit4TestReference.java",
- "line": 50,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.TestExecution",
- "method": "run",
- "file": "TestExecution.java",
- "line": 38,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "runTests",
- "file": "RemoteTestRunner.java",
- "line": 467,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "runTests",
- "file": "RemoteTestRunner.java",
- "line": 683,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "run",
- "file": "RemoteTestRunner.java",
- "line": 390,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "main",
- "file": "RemoteTestRunner.java",
- "line": 197,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }],
- "localizedMessage": "I am suppressed exception 1",
- "message": "I am suppressed exception 1",
- "name": "java.lang.IndexOutOfBoundsException"
- }, {
- "commonElementCount": 0,
- "extendedStackTrace": [{
- "class": "org.apache.logging.log4j.core.layout.LogEventFixtures",
- "method": "createLogEvent",
- "file": "LogEventFixtures.java",
- "line": 58,
- "exact": true,
- "location": "test-classes/",
- "version": "?"
- }, {
- "class": "org.apache.logging.log4j.core.layout.JSONLayoutTest",
- "method": "testAllFeatures",
- "file": "JSONLayoutTest.java",
- "line": 105,
- "exact": true,
- "location": "test-classes/",
- "version": "?"
- }, {
- "class": "org.apache.logging.log4j.core.layout.JSONLayoutTest",
- "method": "testLocationOnCompactOnMdcOn",
- "file": "JSONLayoutTest.java",
- "line": 269,
- "exact": true,
- "location": "test-classes/",
- "version": "?"
- }, {
- "class": "sun.reflect.NativeMethodAccessorImpl",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "sun.reflect.NativeMethodAccessorImpl",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "sun.reflect.DelegatingMethodAccessorImpl",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "java.lang.reflect.Method",
- "method": "invoke",
- "line": -1,
- "exact": false,
- "location": "?",
- "version": "1.7.0_55"
- }, {
- "class": "org.junit.runners.model.FrameworkMethod$1",
- "method": "runReflectiveCall",
- "file": "FrameworkMethod.java",
- "line": 47,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.model.ReflectiveCallable",
- "method": "run",
- "file": "ReflectiveCallable.java",
- "line": 12,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.model.FrameworkMethod",
- "method": "invokeExplosively",
- "file": "FrameworkMethod.java",
- "line": 44,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.statements.InvokeMethod",
- "method": "evaluate",
- "file": "InvokeMethod.java",
- "line": 17,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "runLeaf",
- "file": "ParentRunner.java",
- "line": 271,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.BlockJUnit4ClassRunner",
- "method": "runChild",
- "file": "BlockJUnit4ClassRunner.java",
- "line": 70,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.BlockJUnit4ClassRunner",
- "method": "runChild",
- "file": "BlockJUnit4ClassRunner.java",
- "line": 50,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner$3",
- "method": "run",
- "file": "ParentRunner.java",
- "line": 238,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner$1",
- "method": "schedule",
- "file": "ParentRunner.java",
- "line": 63,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "runChildren",
- "file": "ParentRunner.java",
- "line": 236,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "access$000",
- "file": "ParentRunner.java",
- "line": 53,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner$2",
- "method": "evaluate",
- "file": "ParentRunner.java",
- "line": 229,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.statements.RunBefores",
- "method": "evaluate",
- "file": "RunBefores.java",
- "line": 26,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.internal.runners.statements.RunAfters",
- "method": "evaluate",
- "file": "RunAfters.java",
- "line": 27,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.junit.runners.ParentRunner",
- "method": "run",
- "file": "ParentRunner.java",
- "line": 309,
- "exact": true,
- "location": "junit-4.11.jar",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference",
- "method": "run",
- "file": "JUnit4TestReference.java",
- "line": 50,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.TestExecution",
- "method": "run",
- "file": "TestExecution.java",
- "line": 38,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "runTests",
- "file": "RemoteTestRunner.java",
- "line": 467,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "runTests",
- "file": "RemoteTestRunner.java",
- "line": 683,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "run",
- "file": "RemoteTestRunner.java",
- "line": 390,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }, {
- "class": "org.eclipse.jdt.internal.junit.runner.RemoteTestRunner",
- "method": "main",
- "file": "RemoteTestRunner.java",
- "line": 197,
- "exact": true,
- "location": ".cp/",
- "version": "?"
- }],
- "localizedMessage": "I am suppressed exception 2",
- "message": "I am suppressed exception 2",
- "name": "java.lang.IndexOutOfBoundsException"
- }]
- },
- "contextStack": ["stack_msg1", "stack_msg2"],
- "loggerFQCN": "f.q.c.n",
- "endOfBatch": false,
- "contextMap": [{
- "key": "MDC.B",
- "value": "B_Value"
- }, {
- "key": "MDC.A",
- "value": "A_Value"
- }],
- "source": {
- "class": "org.apache.logging.log4j.core.layout.LogEventFixtures",
- "method": "createLogEvent",
- "file": "LogEventFixtures.java",
- "line": 54
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement