]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#644,!370] Manual apply of b7fe40b11bc0e7cf7ffd0bc0daff3fec7aac5a10
authorTomek Mrugalski <tomasz@isc.org>
Thu, 18 Jul 2019 12:18:49 +0000 (14:18 +0200)
committerMichal Nowikowski <godfryd@isc.org>
Tue, 30 Jul 2019 08:45:13 +0000 (10:45 +0200)
doc/sphinx/arm/hooks.rst

index 4b3b45e07e9a615700e4138d40778e417f60a714..cb543c2d695b4b88c1986d79ddce649f84c59705 100644 (file)
@@ -708,7 +708,7 @@ Configuring the Forensic Log Hooks
 
 To use this functionality, the hook library must be included in the
 configuration of the desired DHCP server modules. The legal_log library
-is installed alongside the Kea libraries in ``[kea-install-dir]/lib``
+is installed alongside the Kea libraries in ``[kea-install-dir]/var/lib/kea``
 where ``kea-install-dir`` is determined by the "--prefix" option of the
 configure script. It defaults to ``/usr/local``. Assuming the default
 value, configuring kea-dhcp4 to load the legal_log library could be
@@ -719,7 +719,7 @@ done with the following Kea4 configuration:
    "Dhcp4": {
        "hooks-libraries": [
            {
-               "library": "/usr/local/lib/libdhcp_legal_log.so",
+               "library": "/usr/local/lib/kea/hooks/libdhcp_legal_log.so",
                "parameters": {
                    "path": "/var/lib/kea/log",
                    "base-name": "kea-forensic4"
@@ -736,7 +736,7 @@ To configure it for kea-dhcp6, the commands are:
    "Dhcp6": {
        "hooks-libraries": [
            {
-               "library": "/usr/local/lib/libdhcp_legal_log.so",
+               "library": "/usr/local/lib/kea/hooks/libdhcp_legal_log.so",
                "parameters": {
                    "path": "/var/lib/kea/log",
                    "base-name": "kea-forensic6"
@@ -749,7 +749,7 @@ To configure it for kea-dhcp6, the commands are:
 Two hooks library parameters are supported:
 
 -  path - the directory in which the forensic file(s) will be written.
-   The default value is ``[prefix]/kea/var``. The directory must exist.
+   The default value is ``[prefix]/var/lib/kea``. The directory must exist.
 
 -  base-name - an arbitrary value which is used in conjunction with the
    current system date to form the current forensic file name. It