I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit b27c8d0f authored by zzz's avatar zzz
Browse files

log level tweak

parent afec8633
No related branches found
No related tags found
No related merge requests found
Pipeline #2291 passed
......@@ -131,8 +131,8 @@ public class RouterThrottleImpl implements RouterThrottle {
*/
public int acceptTunnelRequest() {
if (_context.router().gracefulShutdownInProgress()) {
if (_log.shouldLog(Log.WARN))
_log.warn("Refusing tunnel request since we are shutting down ASAP");
if (_log.shouldDebug())
_log.debug("Refusing tunnel request since we are shutting down soon");
setShutdownStatus();
// Don't use CRIT because this tells everybody we are shutting down
return TunnelHistory.TUNNEL_REJECT_BANDWIDTH;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment