Flink打印完整日志,进行排错

1、错误信息

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

2、引入依赖

    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-simple</artifactId>
        <version>1.7.25</version>
<!--        <scope>test</scope>-->
    </dependency>

这样就可以打印完整的日志信息了

posted @ 2021-02-03 10:51  小白啊小白,Fighting  阅读(2397)  评论(0编辑  收藏  举报