問題診断用のログの構成 (非推奨)

注: 監査マネージャーは非推奨です。下位互換性のみを目的として提供されています。代わりに syslog イベントを使用することをお奨めします。詳細については、「エンタープライズ サーバーの監査」を参照してください。

監査エミッターでは Micro Focus 統合化トレース機能 (CTF) を使用して診断情報を生成することができないため、SNMP エミッターでは代わりのログ メカニズムをサポートしています。これにより、ログ情報をファイルに送ったり、必要に応じて画面に出力したりできます。

このログ メカニズムを使用するには、構成ファイルの agent.log_emitter、agent.log_to_screen、および agent.logfilename のエントリを使用します。これらのエントリの使用例を次に示します。コメント行 (先頭に # が付いた行) に指定可能な値を示してあります。

# Emitters cannot use Micro Focus CTF trace facilities, so 
# a basic alternative logging method has been provided.
#
# Logging can go to file and screen, or just to file.
#
# mfaudit.emitter.snmp#agent.log_emitter options
#
# on                  - enable all logging options
# off                 - do not log anything
# errors              - log only errors
# flow                - log module process flow
# content             - log audit message (partial) content
# errors_flow         - log errors and logic flow
# errors_flow_content - log errors and logic flow and content
mfaudit.emitter.snmp#agent.log_emitter = errors

# mfaudit.emitter.snmp#agent.log_to_screen options
# on                   - log to console screen
# off                  - do not log to screen, log to file
mfaudit.emitter.snmp#agent.log_to_screen = on

# mfaudit.emitter.snmp#agent.logfilename options
# if screen logging is disabled log to file name given here
mfaudit.emitter.snmp#agent.logfilename = c:\snmpemitter.log