class AsdnsMonLog

ManagedElement
+-IpworksFunction
+-IpworksDnsRoot
+-AsdnsServer
+-AsdnsMonitor
+-AsdnsMonLog

The class AsdnsMonLog controls ASDNS monitor's log generation.

Attributes
string
key
mandatory
noNotification
restricted
asdnsMonLogId
The identifier for the ASDNS Monitor Log.
string
readOnly
directory = /cluster/storage/no-backup/ipworks/logs/
The directory where the log files are retained.
Note: This parameter cannot be changed currently.
The current log file is ipworks_asdnsmon.log and the most recent files are ipworks_asdnsmon.log.0 to ipworks_asdnsmon.log.<max-1>. When the current log exceeds the size limit or a time restriction, the algorithm performed is as follows:
The ipworks_asdnsmon.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_asdnsmon.log.0.
A new ipworks_asdnsmon.log file is created.
uint32
fileSize = 10 { 1..20 }
The maximum size (Mb) of log file.
Specifies the maximum size of each log file. When this limit is exceeded, a new file is opened. The default is 10 MB.
The maximum disk space consumed by the log files is this parameter times (1 plus the number of logs). With the default setting of 10 files and 10 MB, this means 110 MB of disk space.
uint16
filesNumber = 10 { 1..20 }
Number of log files.Specifies the maximum number of log files to be retained. This excludes the current file and limits the number of the most recent old log files retained.
The range is 1 to 20. The default value is 10.


IpworksLogLevel
level = LOG_LEVEL_DISABLE
Log level.The default log level is DNS_LOG_LEVEL_DISABLE
Specifies the logging information,
--LOG_LEVEL_DISABLE : once it is selected, Monitor Log is disabled;
--LOG_LEVEL_FATAL : Monitor Log is enabled and in fatal log level;
--LOG_LEVEL_ERROR : Monitor Log is enabled and in error log level;
--LOG_LEVEL_WARN : Monitor Log is enabled and in warning log level;
--LOG_LEVEL_INFO : Monitor Log is enabled and in informational log level;
--LOG_LEVEL_DEBUG : Monitor Log is enabled and in debug log level;
--LOG_LEVEL_TRACE : Monitor Log is enabled and in trace log level;

  class AsdnsMonLog