logging
The logging
resource contains information about the resources consumed during various AMPS logging processes. Selecting a logging mechanism (console, file or syslog) will first list all logs of that particular type. Drilling down into one of those logs will pull up more granular information about logging. If a logging mechanism is not defined in the configuration, then the results will be blank when the logging resource is selected.
Statistics Database Tables: ICONSOLE_LOGGERS_STATIC
, ICONSOLE_LOGGERS_DYNAMIC
, IFILE_LOGGERS_STATIC
, IFILE_LOGGERS_DYNAMIC
, ISYSLOG_LOGGERS_STATIC
, ISYSLOG_LOGGERS_DYNAMIC
Admin Path: /amps/instance/logging/<type>/<identifier>/<metric>
console
Below are the options available for reporting when console
logging is enabled:
Metric
Description
Type
bytes_written
Number of bytes written to the console.
cumulative
exclude_errors
Errors which are excluded from logging.
fixed
include_errors
Errors which are included during logging.
fixed
log_levels
Log level used to control logging output.
fixed
target
Console to which logging output is directed.
Default: stdout
fixed
file
Below are the options available for reporting when file
logging is enabled:
Metric
Description
Type
bytes_written
Number of bytes written to the log.
cumulative
exclude_errors
Errors which are excluded from logging.
fixed
file_name
File defined in the configuration file where the log file is written to.
fixed
file_name_mask
Mask of the logging output file name, if available.
fixed
file_system_free_percent
Percentage of free space on the file system that contains the file.
snapshot
include_errors
Errors which are included during logging.
fixed
log_levels
Log level used to control logging output.
fixed
rotation
Boolean representation denoting if log rotation is turned on.
fixed
rotation_threshold
Log size at which log rotation will occur.
fixed
syslog
Below are the options available for reporting when syslog
logging is enabled:
Metric
Description
Type
bytes_written
Number of bytes written to syslog.
cumulative
exclude_errors
Errors which are excluded from logging.
fixed
facility
Integer enumeration of the logging facility used by syslog.
fixed
ident
Syslog name of the logging instance.
fixed
include_errors
Errors which are included during logging.
fixed
log_levels
Log level used to control logging output.
fixed
logopt
Bitfield of possible log options included.
These values are configured in the configuration file in the <Options>
tag.
fixed
Last updated