<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>the issue was caused by my pattern line in <span
        style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">kea-dhcp4.conf
          :</span><br>
      </span></p>
    <p>"pattern": "%-5p %m n"</p>
    <p>commenting that out fixed the issue.  <br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 11/30/24 10:07, fbcadmin wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20241130150815.8DB052E841@Mail.fantinibakery.com">[  I
      had responded to Darren and not the list.  see below ]
      <br>
      <br>
      <br>
      the issue with the log formatting comes from the log file. there
      are no line breaks.   the log file consists of one long line.
      <br>
      <br>
      I do not recall seeing a configuration adjustment available to
      handle that.   Will recheck..
      <br>
      <br>
      <br>
      <br>
      <blockquote type="cite">
        <br>
        However there is an issue with the way the log is shown in
        Stork. there are no line breaks .  the data is wrapped [ see
        below] .  is there an option somewhere to configure the log
        output to be easier to read?
        <br>
        <br>
        <br>
        _QUERY_LABEL received query: [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e n INFO
        DHCP4_PACKET_RECEIVED [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e: DHCPDISCOVER (type
        1) received from 10.1.3.202 to 10.1.3.15 on interface eth0 n
        INFO DHCP4_QUERY_LABEL received query: [hwtype=1
        <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e n
        INFO DHCP4_PACKET_RECEIVED [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e: DHCPDISCOVER (type
        1) received from 10.1.3.201 to 10.1.3.15 on interface eth0 n
        INFO DHCP4_LEASE_OFFER [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e: lease 10.1.8.125
        will be offered n INFO DHCP4_PACKET_SEND [hwtype=1
        <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e:
        trying to send packet DHCPOFFER (type 2) from 10.1.3.15:67 to
        10.1.8.202:67 on interface eth0 n INFO DHCP4_LEASE_OFFER
        [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        tid=0x33376c3e: lease 10.1.8.125 will be offered n INFO
        DHCP4_PACKET_SEND [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e: trying to send
        packet DHCPOFFER (type 2) from 10.1.3.15:67 to 10.1.8.201:67 on
        interface eth0 n INFO DHCP4_QUERY_LABEL received query:
        [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        tid=0x33376c3e n INFO DHCP4_PACKET_RECEIVED [hwtype=1
        <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e:
        DHCPREQUEST (type 3) received from 10.1.3.201 to 10.1.3.15 on
        interface eth0 n INFO DHCP4_LEASE_ALLOC [hwtype=1
        <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e:
        lease 10.1.8.125 has been allocated for 604800 seconds n INFO
        DHCP4_PACKET_SEND [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e: trying to send
        packet DHCPACK (type 5) from 10.1.3.15:67 to 10.1.8.201:67 on
        interface eth0 n INFO DHCP4_QUERY_LABEL received query:
        [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        tid=0x33376c3e n INFO DHCP4_PACKET_RECEIVED [hwtype=1
        <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e:
        DHCPREQUEST (type 3) received from 10.1.3.202 to 10.1.3.15 on
        interface eth0 n INFO DHCP4_LEASE_ALLOC [hwtype=1
        <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e:
        lease 10.1.8.125 has been allocated for 604800 seconds n INFO
        DHCP4_PACKET_SEND [hwtype=1 <a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>],
        cid=[01:<a class="moz-txt-link-freetext" href="b6:02:41:8e:97:91">b6:02:41:8e:97:91</a>], tid=0x33376c3e: trying to send
        packet DHCPACK (type 5) from 10.1.3.15:67 to 10.1.8.202:67 on
        interface eth0 n INFO DHCP4_QUERY_LABEL received query:
        [hwtype=1 00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>],
        tid=0xaea6 n INFO DHCP4_QUERY_LABEL received query: [hwtype=1
        00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], tid=0xaea6 n
        INFO COMMAND_RECEIVED Received command 'statistic-get-all' n
        INFO COMMAND_RECEIVED Received command 'subnet4-list' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'status-get' n INFO
        COMMAND_RECEIVED Received command 'config-get' n INFO
        COMMAND_RECEIVED Received command 'statistic-get-all' n INFO
        COMMAND_RECEIVED Received command 'subnet4-list' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'statistic-get-all' n INFO
        COMMAND_RECEIVED Received command 'subnet4-list' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'stat-lease4-get' n INFO
        STAT_CMDS_LEASE4_GET stat-lease4-get command successful,
        parameters: [all subnets] rows found: 20 n INFO COMMAND_RECEIVED
        Received command 'statistic-get' n INFO COMMAND_RECEIVED
        Received command 'statistic-get-all' n INFO COMMAND_RECEIVED
        Received command 'subnet4-list' n INFO COMMAND_RECEIVED Received
        command 'version-get' n INFO DHCP4_QUERY_LABEL received query:
        [hwtype=1 00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>],
        tid=0xaea6 n INFO DHCP4_QUERY_LABEL received query: [hwtype=1
        00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], tid=0xaea6 n
        INFO COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'status-get' n INFO
        COMMAND_RECEIVED Received command 'config-get' n INFO
        COMMAND_RECEIVED Received command 'statistic-get-all' n INFO
        COMMAND_RECEIVED Received command 'subnet4-list' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'statistic-get-all' n INFO
        COMMAND_RECEIVED Received command 'subnet4-list' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'statistic-get-all' n INFO
        COMMAND_RECEIVED Received command 'subnet4-list' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'status-get' n INFO
        COMMAND_RECEIVED Received command 'config-get' n INFO
        DHCP4_QUERY_LABEL received query: [hwtype=1 00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>],
        cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], tid=0xaea6 n INFO DHCP4_QUERY_LABEL
        received query: [hwtype=1 00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>],
        cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], tid=0xaea6 n INFO COMMAND_RECEIVED
        Received command 'statistic-get-all' n INFO COMMAND_RECEIVED
        Received command 'subnet4-list' n INFO COMMAND_RECEIVED Received
        command 'version-get' n INFO COMMAND_RECEIVED Received command
        'statistic-get-all' n INFO COMMAND_RECEIVED Received command
        'subnet4-list' n INFO COMMAND_RECEIVED Received command
        'version-get' n INFO COMMAND_RECEIVED Received command
        'stat-lease4-get' n INFO STAT_CMDS_LEASE4_GET stat-lease4-get
        command successful, parameters: [all subnets] rows found: 20 n
        INFO COMMAND_RECEIVED Received command 'statistic-get' n INFO
        COMMAND_RECEIVED Received command 'statistic-get-all' n INFO
        COMMAND_RECEIVED Received command 'subnet4-list' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'status-get' n INFO
        COMMAND_RECEIVED Received command 'config-get' n INFO
        DHCP4_QUERY_LABEL received query: [hwtype=1 00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>],
        cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], tid=0xaea6 n INFO DHCP4_QUERY_LABEL
        received query: [hwtype=1 00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>],
        cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], tid=0xaea6 n INFO COMMAND_RECEIVED
        Received command 'statistic-get-all' n INFO COMMAND_RECEIVED
        Received command 'subnet4-list' n INFO COMMAND_RECEIVED Received
        command 'version-get' n INFO COMMAND_RECEIVED Received command
        'statistic-get-all' n INFO COMMAND_RECEIVED Received command
        'subnet4-list' n INFO COMMAND_RECEIVED Received command
        'version-get' n INFO COMMAND_RECEIVED Received command
        'statistic-get-all' n INFO COMMAND_RECEIVED Received command
        'subnet4-list' n INFO COMMAND_RECEIVED Received command
        'version-get' n INFO COMMAND_RECEIVED Received command
        'version-get' n INFO COMMAND_RECEIVED Received command
        'status-get' n INFO COMMAND_RECEIVED Received command
        'config-get' n INFO DHCP4_QUERY_LABEL received query: [hwtype=1
        00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], tid=0xaea6 n
        INFO DHCP4_QUERY_LABEL received query: [hwtype=1
        00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], cid=[01:00:<a class="moz-txt-link-freetext" href="ff:b7:73:53:57">ff:b7:73:53:57</a>], tid=0xaea6 n
        INFO COMMAND_RECEIVED Received command 'statistic-get-all' n
        INFO COMMAND_RECEIVED Received command 'subnet4-list' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'statistic-get-all' n INFO
        COMMAND_RECEIVED Received command 'subnet4-list' n INFO
        COMMAND_RECEIVED Received command 'version-get' n INFO
        COMMAND_RECEIVED Received command 'stat-lease4-get' n INFO
        STAT_CMDS_LEASE4_GET stat-lease4-get command successful,
        parameters: [all subnets] rows found: 20 n INFO COMMAND_RECEIVED
        Received command 'statistic-get' n INFO COMMAND_RECEIVED
        Received command 'statistic-get-all' n INFO COMMAND_RECEIVED
        Received command 'subnet4-list' n INFO COMMAND_RECEIVED Received
        command 'version-get' n INFO COMMAND_RECEIVED Received command
        'version-get' n INFO COMMAND_RECEIVED Received command
        'status-get' n INFO COMMAND_RECEIVED Received
        <br>
        <br>
        <br>
        <br>
        On 11/30/24 06:26, Darren Ankney wrote:
        <br>
        <blockquote type="cite">Hi,
          <br>
          <br>
          I don't think you are doing anything wrong in Stork.  In Kea,
          however,
          <br>
          you will probably need to specify the full path to the log
          file.  Even
          <br>
          if Kea is able to put this data somewhere, Stork probably
          won't know
          <br>
          where to find it without the full path.
          <br>
          <br>
          Thank you,
          <br>
          Darren Ankney
          <br>
          <br>
          On Fri, Nov 29, 2024 at 8:56 PM fbcadmin
          <a class="moz-txt-link-rfc2396E" href="mailto:fbcadmin@fantinibakery.com"><fbcadmin@fantinibakery.com></a> wrote:
          <br>
          <blockquote type="cite">I am trying to view dhcp4 log at
            stork.
            <br>
            <br>
            my config:
            <br>
                  "loggers": [
            <br>
                      {
            <br>
                        "name": "kea-dhcp4",
            <br>
                        "severity": "INFO",
            <br>
                        "debuglevel": 0 ,
            <br>
                        "output-options": [
            <br>
                          {
            <br>
                           "output": "dhcp4log",
            <br>
                           "pattern": "%-5p %m n",
            <br>
                         } ] ,
            <br>
                     }
            <br>
                   ] ,
            <br>
            <br>
            At stork the file name shows up as a clickable link at the
            file name.
            <br>
            when I click this error occurs:  Failed to fetch log file
            contents.
            <br>
            <br>
            on the dhcp server I ran 'updatedb' and  then  'locate
            dhcp4log'  . the file is not found.
            <br>
            <br>
            what am I doing wrong?
            <br>
            <br>
            -- <br>
            Stork-users mailing list
            <br>
            <a class="moz-txt-link-abbreviated" href="mailto:Stork-users@lists.isc.org">Stork-users@lists.isc.org</a>
            <br>
            <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/stork-users">https://lists.isc.org/mailman/listinfo/stork-users</a>
            <br>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </body>
</html>