mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-09 07:24:41 +00:00
[HER-1817] cleanup logging.properties / WARNING+ for most 3rd party; SEVERE+ for HttpClient; INFO for project classes
* logging.properties
streamline to bare essentials; allow INFO for org.archive classes
* GenericReplayCharSequence.java, BdbUriUniqFilter.java
demote some INFO logging to FINE
This commit is contained in:
1 parent
b9b592e286
commit
0347269785
3 files changed
+14
-123
No files matched your search
@@ -228,9 +228,7 @@ implements Lifecycle, Checkpointable, BeanNameAware {
|
||||
}
|
||||
|
||||
public synchronized void close() {
|
||||
if (logger.isLoggable(Level.INFO)) {
|
||||
logger.info("Count of alreadyseen on close " + count.get());
|
||||
}
|
||||
logger.fine("Count of alreadyseen on close " + count.get());
|
||||
Environment env = null;
|
||||
if (this.alreadySeen != null) {
|
||||
try {
|
||||
@@ -331,10 +329,10 @@ implements Lifecycle, Checkpointable, BeanNameAware {
|
||||
}
|
||||
if (status == OperationStatus.SUCCESS) {
|
||||
count.incrementAndGet();
|
||||
if (logger.isLoggable(Level.INFO)) {
|
||||
if (logger.isLoggable(Level.FINE)) {
|
||||
final int logAt = 10000;
|
||||
if (count.get() > 0 && ((count.get() % logAt) == 0)) {
|
||||
logger.info("Average lookup " +
|
||||
logger.fine("Average lookup " +
|
||||
(aggregatedLookupTime / logAt) + "ms.");
|
||||
aggregatedLookupTime = 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user