log4j:WARN No appenders could be found for logger (us.codecraft.webmagic.scheduler.QueueScheduler).
See original GitHub issueIssue Description
I am a beginner here, starting to use webmagic and have a small question. When I run the sample code “GithubRepoPageProcessor” there are some warnings.
log4j:WARN No appenders could be found for logger (us.codecraft.webmagic.scheduler.QueueScheduler).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
The following output is the data, it runs well.
I searched on google but have no idea. Is the warnning an important thing?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Log4j Warning: “No Appenders Could Be Found for Logger”
Learn why the Log4j warning, "No appenders could be found for logger" occurs and how to resolve it, both in configuration and in...
Read more >No appenders could be found for logger(log4j)? - Stack Overflow
I have put log4j to my buildpath, but I get the following message when I run my application: log4j:WARN No appenders could be...
Read more >新手配置webmagic - 简书
之前没有配置日志文件运行程序后会报错 log4j:WARN No appenders could be found for logger (us.codecraft.webmagic.scheduler.QueueScheduler).
Read more >【已解决】maven环境下log4j配置文件无效的解决方案
log4j:WARN No appenders could be found for logger (us.codecraft.webmagic.scheduler.QueueScheduler). log4j:WARN Please initialize the log4j ...
Read more >webmagic入门-爬取校内电影网信息 - Mackvord's Blog
log4j:WARN No appenders could be found for logger (us.codecraft.webmagic.scheduler.QueueScheduler). log4j:WARN Please initialize the log4j ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Richard-Cao 请确保你的log4j.properties在资源目录里
非常感谢。