question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

log4j:WARN No appenders could be found for logger (us.codecraft.webmagic.scheduler.QueueScheduler).

See original GitHub issue

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:closed
  • Created 8 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
upsideDownBirdcommented, May 15, 2016

@Richard-Cao 请确保你的log4j.properties在资源目录里

0reactions
ghostcommented, Feb 3, 2019

@Richard-Cao 请确保你的log4j.properties在资源目录里

非常感谢。

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found