📄 mms_log.cfg
字号:
############################################################################# COMPONENT_NAME: MMS-EASE Logging Configuration File## mms_log.cfg# # This file is used to control the amount of logging performed by # the MMS-EASE Debug Libraries. Several keywords are possible. All # are listed and described after the '%LogEnd' keyword.# ###########################################################################%LogBegin# ------- General Logging Enable FileLogEn # Log to a file instead of stdout# MemLogEn # Collect log entries in memory first# ------- Misc. Control Flags TimeEnable= 1 NoAppend # means destroy existing file Setbuf # use setbuf(fh,NULL) after open# NoMsgheader # don't print message identifier# NoWipe # don't wipe bar in wrapped file# NoWrap # don't wrap the file# HardFlush # close and reopen the file each time# ------ This combination is good for runtime use (errors only).# MEM_LOG_ERR ASN1_LOG_ERR ASN1_LOG_NERR ACSE_ERR_PRINT ACSE_NERR_PRINT MMS_LOG_ERR MMS_LOG_NERR ## ------ Combinations of the Following are good for developing a program.# # MEM_LOG_CALLOC | MEM_LOG_MALLOC | MEM_LOG_REALLOC | MEM_LOG_FREE## ASN1_LOG_DEC # ASN1_LOG_ENC # MMS_LOG_USR_IND MMS_LOG_USR_CONF## MMS_LOG_DEC # MMS_LOG_ENC # MMS_LOG_ACSE # MMS_LOG_LLC # MMS_LOG_IQUE # MMS_LOG_RQUE# MMS_LOG_PDU ## MMS_LOG_REQ# MMS_LOG_IND # MMS_LOG_RESP # MMS_LOG_CONF ## MMS_LOG_VM # MMS_LOG_DATA ## MMS_LOG_CONFIG ## MMS_LOG_RT # MMS_LOG_RTAA # MMS_LOG_AA ## ACSE_IND_PRINT# ACSE_CNF_PRINT# ACSE_DEC_PRINT# ACSE_ABORT_PRINT## OSAK_PRINT# OSAK_DEB## ------ This section can override the dynamic memory management defaults. # Contact SISCO Technical Support for proper use of memory # management options.## ------ Internal Memory Management Auditing# # m_fill_en # default not enabled# m_heap_check_enable # default not enabled# m_check_list_enable # default not enabled# m_find_node_enable # default not enabled# list_debug_sel # default not enabledm_no_realloc_smaller # default realloc to smaller size in chk_realloc function# ------- Log File Attributes LogFileSize= 1000000 LogFileName= mms.log# ------- Memory Resident Logging Attributes for Timing Info# LogMemItems= 1000# DumpFileName= mmsdmem.log# MemAutoDump %LogEnd############################################################################# The parameters listed below are valid and are used to control the # format of the Log file.## FileLogEn - Logged messages will go to a file as opposed to stdout.## MemLogEn - Some number of log messages will accumulate in memory# before being announced. This is useful for gathering # timing info.## TimeEnable= This parameter has 3 possible values. Set this # parameter to '0' to disable the time stamp completely,# '1' for standard time/date logging, or '2' for elapsed # time.## HardFlush - This will cause the file to be closed and reopened# after each message is sent to it. This is for very # untrusting users.## NoAppend - Any existing log files will be overwritten.## NoMsgheader - Suppresses the message identifier.## NoWipe - The wipe bar which shows the location where the # file wrapped. Will NOT appear in the file.## NoWrap - Will prevent the file from wrapping.## Setbuf - Logged messages are always output without being # buffered.## LogFileSize= When the parameter 'FileLogEn' is configured, this value# represents the size of the circular log file in bytes.# There can be no ',' or radix point in the value.## LogFileName= When the parameter 'FileLogEn' is configured, this is # the value of an alternate log file name. Only change # this if you don't want your log file placed in the # default directory.## LogMemItems= When the parameter 'MemLogEn' is configured, this is# how many items to buffer in memory before sending them # to a file. There can be no ',' or radix point in the # value.## DumpFileName= When the parameter 'MemLogEn' is configured, this is# the value of an alternate log file name. Only change # this if you don't want your log file placed in the # default directory.## MemAutoDump - When Memory Logging is enabled this is an append and# clear feature.## ------ General Error Logging## MEM_LOG_ERR - Memory misuse, buffer overwrites, multiple frees, etc.# ASN1_LOG_ERR - ASN.1 tools misuse# ASN1_LOG_NERR - Recoverable ASN.1 errors ( bad grammar )# ACSE_ERR_PRINT - SUIC state machine problems and LLP errors# ACSE_NERR_PRINT - SUIC and LLP recoverable normal errors# MMS_LOG_ERR - MMS state machine problems # MMS_LOG_NERR - Recoverable MMS errors ( bad grammar )## ------ Dynamic Memory Tracking( good for leaks and multiple frees )## MEM_LOG_CALLOC - FILE and LINE of where buffers are calloced# MEM_LOG_MALLOC - FILE and LINE of where buffers are calloced# MEM_LOG_REALLOC - FILE and LINE of where buffers are realloced# MEM_LOG_FREE - FILE and LINE of where buffers are freed## ------ ASN.1 Parsing## ASN1_LOG_DEC - Parses class, form, tag, length, and contents# ASN1_LOG_ENC - Shows encoding of a PDU at the ASN.1 level## ------ Application Level Logging## MMS_LOG_USR_IND - Prints MMS-Indications at application level only# MMS_LOG_USR_CONF - Prints MMS-Confirmations at application level only# # ------ MMS Transaction Object Handling# # MMS_LOG_DEC - Shows states used in the parse of an MMS PDU# MMS_LOG_ENC - Shows encoding of an MMS PDU # MMS_LOG_ACSE - Audits MMS events passed up through the ACSE layer# MMS_LOG_LLC - Audits MMS events passed up through the LLC layer # MMS_LOG_IQUE - Audits events received and queued as MMS Indications# MMS_LOG_RQUE - Audits queuing and matching of MMS Req/Conf pair# # ------ MMS Primitive Logging# # MMS_LOG_REQ - Shows MMS Request parameters# MMS_LOG_IND - Shows MMS Request parameters received as an Indication# MMS_LOG_RESP - Shows MMS Response parameters # MMS_LOG_CONF - Shows MMS Request parameters received as a Confirmation ## ------ Virtual Machine and MMS transaction object auditing## MMS_LOG_VM - currently not used# MMS_LOG_DATA - Logs data conversion to and from local representation## MMS_LOG_PDU - Exposes MMS PDU's to the application ## ------ Reserved for Application Configuration Logging## MMS_LOG_CONFIG - reserved for customer or application use# # ------ Variable Access and Alternate Access Logging# # MMS_LOG_RT - Logs creation of Runtime types# MMS_LOG_RTAA - Logs creation of Runtime types using AlternateAccess# MMS_LOG_AA - Logs creation of AlternateAccess## ------ SUIC Event Auditing## ACSE_IND_PRINT - Logs ACSE Indications# ACSE_CNF_PRINT - Logs ACSE Confirmations# ACSE_DEC_PRINT - Logs the initial parse of the ACSE PDU## ------ DecNet/OSI Transaction Auditing## OSAK_PRINT - Shows DecNet OSI Suic transactions# OSAK_DEB - Shows DecNet OSI memory management## The remaining keywords control miscellaneous attributes of the # Log file entries or the location of the Log file.## Grammar errors that result from improper configuration are# reported in the file: mms_log.err.############################################################################
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -