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

Skip to content
Snippets Groups Projects
Commit 8ebacf4c authored by zzz's avatar zzz
Browse files

log tweak

parent a02cc258
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ public class RouterClock extends Clock { ...@@ -156,7 +156,7 @@ public class RouterClock extends Clock {
(stratum >= _lastStratum || _startedOn - System.currentTimeMillis() > 60*1000)) { (stratum >= _lastStratum || _startedOn - System.currentTimeMillis() > 60*1000)) {
// Update the target offset, slewing will take care of the rest // Update the target offset, slewing will take care of the rest
if (delta > 15*1000) if (delta > 15*1000)
getLog().error("Warning - Updating target clock offset to " + offsetMs + "ms from " + _offset + "ms, Stratum " + stratum); getLog().logAlways(Log.WARN, "Warning - Updating target clock offset to " + offsetMs + "ms from " + _offset + "ms, Stratum " + stratum);
else if (getLog().shouldLog(Log.INFO)) else if (getLog().shouldLog(Log.INFO))
getLog().info("Updating target clock offset to " + offsetMs + "ms from " + _offset + "ms, Stratum " + stratum); getLog().info("Updating target clock offset to " + offsetMs + "ms from " + _offset + "ms, Stratum " + stratum);
......
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