How to initialize log4j properly?

前端 未结 24 3312
太阳男子
太阳男子 2020-11-22 06:49

After adding log4j to my application I get the following output every time I execute my application:

log4j:WARN No appenders could be found for logger (slideselec         


        
24条回答
  •  时光取名叫无心
    2020-11-22 07:12

    Try to set debug attribut in log4j:configuration node to true.

    
    

    It prints out information as the configuration file is read and used to configure the log4j environment. You may be got more details to resolve your problem.

提交回复
热议问题