<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=iso-8859-15">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Add these lines to your logging:<br>
    <font color="#993300"><tt>            ,"  ReqLease:",
        pick-first-value(binary-to-ascii(10,32,"", option
        dhcp-lease-time), "(none)")</tt><tt><br>
      </tt><tt>            ,"  Lease:",
        pick-first-value(binary-to-ascii(10,32,"",encode-int(lease-time,32)),
        "(none)")</tt><tt><br>
      </tt><tt>            ,"  Renewal:",
        pick-first-value(binary-to-ascii(10, 32, "", config-option
        dhcp-renewal-time), "(none)")</tt><tt><br>
      </tt><tt>            ,"  Rebind:",
        pick-first-value(binary-to-ascii(10, 32, "", config-option
        dhcp-rebinding-time), "(none)")</tt><tt><br>
      </tt></font><br>
    Bill<br>
    <br>
    <div class="moz-cite-prefix">On 12/15/2017 4:37 PM, Gregory Sloop
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1718764616.20171215133731@sloop.net">
      <title>Log lease time</title>
      <span style=" font-family:'Courier New'; font-size: 9pt;">Is there
        a way to write into the logs the lease time offered/given for
        each lease?<br>
        <br>
        Why, you ask? I've got some clients that are getting very short
        leases, and I'd like to understand why. <br>
        Knowing more detail about what clients are getting for leases
        would be, I think, helpful in figuring it out.<br>
        <br>
        I assume it's possible with some level of debug, but it would be
        helpful to know at what level I'll get this...if at all...<br>
        <br>
        TIA<br>
        -Greg<br>
        <br>
        <br>
      </span>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>