mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-09 07:24:41 +00:00
HER-1765 quiet excessive INFO level logging
* GenericReplayCharSequence.java
* Scoper.java
* FetchFTP.java
* FetchHTTP.java
demote a bunch of INFO logging to FINE so that be default, console isn't filled with output for every URI handled by a busy crawl
This commit is contained in:
1 parent
3f0059c8a8
commit
cb5ec19b6c
4 files changed
+24
-25
No files matched your search
@@ -128,7 +128,6 @@ public abstract class Scoper extends Processor implements Lifecycle {
|
||||
*/
|
||||
protected boolean isInScope(CrawlURI caUri) {
|
||||
boolean result = false;
|
||||
// FIXME!: getController().setStateProvider(caUri);
|
||||
DecideResult dr = scope.decisionFor(caUri);
|
||||
if (dr == DecideResult.ACCEPT) {
|
||||
result = true;
|
||||
@@ -147,10 +146,10 @@ public abstract class Scoper extends Processor implements Lifecycle {
|
||||
* @param caUri CrawlURI that is out of scope.
|
||||
*/
|
||||
protected void outOfScope(CrawlURI caUri) {
|
||||
if (!LOGGER.isLoggable(Level.INFO)) {
|
||||
if (!LOGGER.isLoggable(Level.FINE)) {
|
||||
return;
|
||||
}
|
||||
LOGGER.info(caUri.getUURI().toString());
|
||||
LOGGER.fine(caUri.getUURI().toString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user