[Git][NTPsec/ntpsec][srchost-bug] Added more info to the debug line
Ian Bruene
gitlab at mg.gitlab.com
Fri May 26 21:02:36 UTC 2017
Ian Bruene pushed to branch srchost-bug at NTPsec / ntpsec
Commits:
9feb966f by Ian Bruene at 2017-05-26T16:02:11-05:00
Added more info to the debug line
- - - - -
1 changed file:
- pylib/util.py
Changes:
=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -851,8 +851,7 @@ class PeerSummary:
if clock_name is None: # DEBUG #305
clock_name = ""
if self.debug:
- dbg = "clock_name error: srcadr=%s, srchost=%s, dcheck=%s" % \
- (srcadr, srchost, dcheck)
+ dbg = "clock_name error: srcadr=%s, srchost=%s, dcheck=%s, varlist=%s\n" % (srcadr, srchost, dcheck, variables.keys())
self.logfp.write(dbg)
if self.wideremote and len(clock_name) > self.namewidth:
line += ("%c%s\n" % (c, clock_name))
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/9feb966fcfbd73c400c61867ba1e9c9d6aeb12c8
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/9feb966fcfbd73c400c61867ba1e9c9d6aeb12c8
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170526/d140fbd2/attachment.html>
More information about the vc
mailing list