项目报:warn to appenders could be found for logger(org.apache.calcite.sql2rel)

The specific error information is as follows:
Insert image description here
Solution
: Add "log4j.properties" in the project resources directory. The specific configuration content is as follows

log4j.rootLogger=info,stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{
    
    ABSOLUTE} %5p %c:%L - %m%n

Guess you like

Origin blog.csdn.net/dxjren/article/details/127683313