class DHCPv4TransactionLog

ManagedElement
+-IpworksFunction
+-IPWorksDHCPRoot
+-DHCPServer
+-DHCPv4TransactionLog

DHCPv4 server transaction log configuration

Attributes
string
key
mandatory
noNotification
restricted
dhcpv4TransactionLogId
The value component of the RDN.
string
readOnly
directory = /var/ipworks/logs
Specifies the location of the DHCPv4 server transaction log file. The default directory is /var/ipworks/logs. The transaction files record significant events such as, addresses assigned to clients and server stops and starts.
The current transaction log file is ipworks_dhcpv4_trans.log and the latest files are ipworks_dhcpv4_trans.log.0 to ipworks_dhcpv4_trans.log.<max-1>.
When the current transaction log exceeds the size limit or a time restriction, the algorithm performed is as follows:
The file ipworks_dhcpv4_trans.log.<max-1> file is deleted.
The .0 to .<max-2> files are renamed as .1 to .<max-1> respectively.
The current file is saved and renamed to ipworks_dhcpv4_trans.log.0.
A new ipworks_dhcpv4_trans.log file is created.

The transaction log will be cleared when server reboot.
uint8[0..1]
fileSize = 1 { 1..20 }
Specifies the maximum size of each transaction log file. When this limit is exceeded, a new file is created. The default size is 1 MB.

Takes effect: Immediately
uint8
maxLogs = 10 { 1..20 }
Specifies the maximum number of transaction log files retained. It excludes the current file and limits the number of the most recent old transaction log files retained

(ipworks_dhcpv4_trans.log.0 to ipworks_dhcpv4_trans.log.<max-1>).

The range is 1 to 20. The default value is 10.


Takes effect: Immediately
IpworksLogTimelyRotate
timeBasedLog = DISABLE
Specifies the time-based condition under which a new transaction log file is created. The default value is DISABLE.

DISABLE: No time-based condition. Only the size limit causes a new file to be created. This is the default value.
HOURLY
DAILY
WEEKLY
MONTHLY

A new transaction log file is created when either the time-based condition occurs or the file size-limit is reached.


Takes effect: Immediately

  class DHCPv4TransactionLog