Search in sources :

Example 1 with Logger

use of com.alipay.sofa.rpc.log.Logger in project sofa-boot by alipay.

the class SofaRpcLoggerLevelConfigTest method testOtherLoggerLevel.

@Test
public void testOtherLoggerLevel() {
    Logger rpcLogger = LoggerFactory.getLogger("com.alipay.sofa.rpc.xxx");
    Assert.assertTrue(rpcLogger.isDebugEnabled());
}
Also used : Logger(com.alipay.sofa.rpc.log.Logger) SpringBootTest(org.springframework.boot.test.context.SpringBootTest) Test(org.junit.Test)

Example 2 with Logger

use of com.alipay.sofa.rpc.log.Logger in project sofa-boot by alipay.

the class SofaRpcLoggerLevelConfigTest method testRpcLoggerLevel.

@Test
public void testRpcLoggerLevel() {
    Logger rpcLogger = LoggerFactory.getLogger("com.alipay.sofa.rpc.transport");
    Assert.assertTrue(rpcLogger.isDebugEnabled());
}
Also used : Logger(com.alipay.sofa.rpc.log.Logger) SpringBootTest(org.springframework.boot.test.context.SpringBootTest) Test(org.junit.Test)

Example 3 with Logger

use of com.alipay.sofa.rpc.log.Logger in project sofa-boot by sofastack.

the class SofaRpcLoggerLevelConfigTest method testOtherLoggerLevel.

@Test
public void testOtherLoggerLevel() {
    Logger rpcLogger = LoggerFactory.getLogger("com.alipay.sofa.rpc.xxx");
    Assert.assertTrue(rpcLogger.isDebugEnabled());
}
Also used : Logger(com.alipay.sofa.rpc.log.Logger) SpringBootTest(org.springframework.boot.test.context.SpringBootTest) Test(org.junit.Test)

Example 4 with Logger

use of com.alipay.sofa.rpc.log.Logger in project sofa-boot by sofastack.

the class SofaRpcLoggerLevelConfigTest method testRpcLoggerLevel.

@Test
public void testRpcLoggerLevel() {
    Logger rpcLogger = LoggerFactory.getLogger("com.alipay.sofa.rpc.transport");
    Assert.assertTrue(rpcLogger.isDebugEnabled());
}
Also used : Logger(com.alipay.sofa.rpc.log.Logger) SpringBootTest(org.springframework.boot.test.context.SpringBootTest) Test(org.junit.Test)

Aggregations

Logger (com.alipay.sofa.rpc.log.Logger)4 Test (org.junit.Test)4 SpringBootTest (org.springframework.boot.test.context.SpringBootTest)4