Changeset ceac733 for router


Ignore:
Timestamp:
Mar 7, 2018 4:19:38 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7433eeb
Parents:
665f58d
Message:

log tweaks

Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/Router.java

    r665f58d rceac733  
    809809                changeState(State.RUNNING);
    810810        }
     811        // for debugging
     812        if (_log.shouldWarn())
     813            _context.logManager().flush();
    811814    }
    812815
     
    823826                changeState(State.RUNNING);
    824827        }
     828        // for debugging
     829        if (_log.shouldWarn())
     830            _context.logManager().flush();
    825831    }
    826832
  • router/java/src/net/i2p/router/tasks/ReadConfigJob.java

    r665f58d rceac733  
    4545            _lastRead = getContext().clock().now();
    4646            Log log = getContext().logManager().getLog(ReadConfigJob.class);
    47             if (log.shouldLog(Log.WARN))
    48                 log.warn("Reloaded " + configFile);
     47            if (log.shouldDebug())
     48                log.debug("Reloaded " + configFile);
    4949        }
    5050        requeue(DELAY);
Note: See TracChangeset for help on using the changeset viewer.