<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I can get it part of the way, but then get
lost:</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Log (info, concat(“ lease address “,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>       Binary-to-ascii (10, 8, ”.”,
leased-address), “ expires in “,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>       Binary-to-ascii (10, 8, “.”,
encode-int(lease-time,32))));</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<div>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><a href="http://mcgoy.plumbearcat.com/">David
McGaughey</a></span></font></p>

<p class=MsoNormal><st1:place><font size=3 color=navy face="Times New Roman"><st1:City><span
style='font-size:12.0pt;color:navy'>Lubbock</st1:City>, <st1:State>Texas</span></st1:State></font></st1:place></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><a href="mailto:mcgoy@plumbearcat.com">mcgoy@plumbearcat.com</a></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>(806)438-7363</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'> </span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
dhcp-users-bounces@lists.isc.org [mailto:dhcp-users-bounces@lists.isc.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>M S<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, February 02, 2009
9:40 AM<br>
<b><span style='font-weight:bold'>To:</span></b> dhcp-users@isc.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Logging lease expiry to
syslog</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi,<br>
I'm trying to log the lease expiry of an IP address when an allocation is made.
I'm not having much luck with this. Is this possible? Any pointers on how to do
this (examples would be good)?<br>
thanks.<br>
<br>
--MS</span></font></p>

</div>

</body>

</html>