mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#1680] fixed rebase
This commit is contained in:
@@ -930,25 +930,26 @@ Two hooks library parameters for text file are supported:
|
|||||||
current system date to form the current forensic file name. It
|
current system date to form the current forensic file name. It
|
||||||
defaults to ``kea-legal``.
|
defaults to ``kea-legal``.
|
||||||
|
|
||||||
- time-unit - configures the time unit used to rotate the log file. Valid
|
- ``time-unit`` - configures the time unit used to rotate the log file. Valid
|
||||||
values are ``second``, ``day``, ``month`` or ``year``. It defaults to ``day``.
|
values are ``second``, ``day``, ``month`` or ``year``. It defaults to
|
||||||
|
``day``.
|
||||||
|
|
||||||
- count - configures the number of time units that need to pass until the log
|
- ``count`` - configures the number of time units that need to pass until the
|
||||||
file is rotated. It can be any positive number, or 0 which disabled log rotate.
|
log file is rotated. It can be any positive number, or 0 which disabled log
|
||||||
It defaults to 1.
|
rotate. It defaults to 1.
|
||||||
|
|
||||||
To note that if log rotate is disabled, a new file will be created when the
|
If log rotate is disabled, a new file will be created when the library is
|
||||||
library is loaded and the new file name is different that any previous file name.
|
loaded and the new file name is different that any previous file name.
|
||||||
|
|
||||||
Additional actions can be performed just before closing the old file and after
|
Additional actions can be performed just before closing the old file and after
|
||||||
opening the new file. These actions must point to an external executable or
|
opening the new file. These actions must point to an external executable or
|
||||||
script and are configured by setting:
|
script and are configured by setting:
|
||||||
|
|
||||||
- prerotate - external executable or script called with the name of the file
|
- ``prerotate`` - external executable or script called with the name of the
|
||||||
that will be closed (Kea will not wait for the process to finish)
|
file that will be closed (Kea will not wait for the process to finish)
|
||||||
|
|
||||||
- portrotate - external executable or script called with the name of the file
|
- ``portrotate`` - external executable or script called with the name of the
|
||||||
that had been opened (Kea will not wait for the process to finish)
|
file that had been opened (Kea will not wait for the process to finish)
|
||||||
|
|
||||||
- ``request-parser-format`` - evaluated parsed expression used to extract and
|
- ``request-parser-format`` - evaluated parsed expression used to extract and
|
||||||
log data from the incoming packet
|
log data from the incoming packet
|
||||||
|
@@ -163,7 +163,7 @@ instantiated with the appropriate value and put onto the expression vector.
|
|||||||
concatenate two other tokens.
|
concatenate two other tokens.
|
||||||
- isc::dhcp::TokenIfElse -- represents the ifelse(cond, iftrue, ifelse) operator.
|
- isc::dhcp::TokenIfElse -- represents the ifelse(cond, iftrue, ifelse) operator.
|
||||||
- isc::dhcp::TokenToHexString -- represents the hexstring operator which
|
- isc::dhcp::TokenToHexString -- represents the hexstring operator which
|
||||||
converts a binary value to its hexadecimal string representation.
|
converts a binary value to its hexadecimal string representation.
|
||||||
- isc::dhcp::TokenInt8ToText -- represents the signed 8 bit integer in string
|
- isc::dhcp::TokenInt8ToText -- represents the signed 8 bit integer in string
|
||||||
representation.
|
representation.
|
||||||
- isc::dhcp::TokenInt16ToText -- represents the signed 16 bit integer in string
|
- isc::dhcp::TokenInt16ToText -- represents the signed 16 bit integer in string
|
||||||
|
Reference in New Issue
Block a user