@@ -0,0 +1,1817 @@
+/*%0A * Copyright 2018 NAVER Corp.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.navercorp.pinpoint.plugin.log4j2;%0A%0Aimport com.navercorp.pinpoint.plugin.AgentPath;%0Aimport com.navercorp.pinpoint.test.plugin.Dependency;%0Aimport com.navercorp.pinpoint.test.plugin.JvmArgument;%0Aimport com.navercorp.pinpoint.test.plugin.PinpointAgent;%0Aimport com.navercorp.pinpoint.test.plugin.PinpointConfig;%0Aimport com.navercorp.pinpoint.test.plugin.PinpointPluginTestSuite;%0Aimport org.apache.logging.log4j.LogManager;%0Aimport org.apache.logging.log4j.Logger;%0Aimport org.apache.logging.log4j.ThreadContext;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0A%0A@RunWith(PinpointPluginTestSuite.class)%0A@PinpointAgent(AgentPath.PATH)%0A@PinpointConfig(%22pinpoint-spring-bean-test.config%22)%0A@JvmArgument(%22-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector%22)%0A@Dependency(%7B%22org.apache.logging.log4j:log4j-core:%5B2.0,)%22, %22com.lmax:disruptor:%5B3.4.2%5D%22%7D)%0Apublic class Log4j2ForAsyncLoggerIT %7B%0A%0A    @Test%0A    public void test() %7B%0A        Logger logger = LogManager.getLogger();%0A        logger.error(%22for log4j2 plugin async logger test%22);%0A%0A        Assert.assertNotNull(ThreadContext.get(%22PtxId%22));%0A        Assert.assertNotNull(ThreadContext.get(%22PspanId%22));%0A    %7D%0A%7D%0A

add IT for log4j2 async logger