class DHCPv4Log

ManagedElement
+-IpworksFunction
+-IPWorksDHCPRoot
+-DHCPServer
+-DHCPv4Log

DHCP LOG configuartion

Attributes
string
key
mandatory
noNotification
restricted
dhcpv4LogId
id of the MO
string
readOnly
directory = /cluster/storage/no-backup/ipworks/logs
Specifies the location of the DHCPv4 server log file. The default is /cluster/storage/no-backup/ipworks/logs/<PL-X>/.
The current log file is ipworks_dhcpv4.log and the most recent files are ipworks_dhcpv4.log.0 to ipworks_dhcpv4.log.<max-1>.
When the current log exceeds the size limit or a time restriction, the algorithm performs as follows:
-The ipworks_dhcpv4.log.<max-1> file is deleted.
-The .0 to .<max-2> files are renamed as .1 to .<max-1> respectively.
-The current file is closed and renamed to ipworks_dhcpv4.log.0.
-A new ipworks_dhcpv4.log file is created.
uint8
fileSize = 10 { 1..20 }
Specifies the maximum size of each log file. When this limit is exceeded, a new file is opened. The default is 10 MB.

Takes effect: Immediately
IpworksLogLevel
level = LOG_LEVEL_ERROR
Log level. Specifies the severity of logging information that is recorded.

LOG_LEVEL_DISABLE: Disable log level.

LOG_LEVEL_FATAL/LOG_LEVEL_ERROR: Errors and Traces.

LOG_LEVEL_WARN: High level Server Manager activity.

LOG_LEVEL_INFO: High Level Network activity.

LOG_LEVEL_DEBUG: Network packets.

LOG_LEVEL_TRACE: All.

Each level includes the logging information that is lower than its severity.


Takes effect: Immediately
uint8
maxLogs = 10 { 1..20 }
Specifies the maximum number of log files retained. This excludes the current file, and limits the number of the most recent old log files retained (ipworks_dhcpv4.log.0 to ipworks_dhcpv4.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 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 log file is created when either the time based condition occurs or the file size-limit is reached.


Takes effect: Immediately

  class DHCPv4Log