前のトピック: ログ ファイルの設定次のトピック: ログ ファイルのクリーンアップの設定


logging.properties ファイル - コンポーネント別の例

以下の例では、各 logging.properties ファイルについて説明します。

MultiController の logging.properties ファイル例

com.torokina.common.logging.apache.FileHandler.directory=/opt/CA/CAMM/MC/logs
handlers=com.torokina.common.logging.apache.FileHandler
com.torokina.common.logging.apache.FileHandler.level=INFO
.level=INFO
com.torokina.common.logging.apache.FileHandler.prefix=CAMM-Multi-Controller-

LocalController の logging.properties ファイル例

com.torokina.common.logging.apache.FileHandler.directory=/opt/CA/CAMM/LC/logs
handlers=com.torokina.common.logging.apache.FileHandler
com.torokina.common.logging.apache.FileHandler.level=INFO
.level=INFO
com.torokina.common.logging.apache.FileHandler.prefix=CAMM-Local-Controller-

配信システムの logging.properties ファイル例

com.torokina.common.logging.apache.FileHandler.directory=/opt/CA/CAMM/DS/logs
handlers=com.torokina.common.logging.apache.FileHandler
com.torokina.common.logging.apache.FileHandler.level=INFO
.level=INFO
com.torokina.common.logging.apache.FileHandler.prefix=CAMM-Delivery-System-

ENGINE_CAMM の logging.properties ファイル例

com.torokina.common.logging.apache.FileHandler.directory=/opt/CA/CAMM/COMPONENTS/ENGINE_CAMM/logs
handlers=com.torokina.common.logging.apache.FileHandler
com.torokina.common.logging.apache.FileHandler.level=INFO
.level=INFO
com.torokina.common.logging.apache.FileHandler.prefix=CAMM-ENGINE_CAMM-

Generic Executor の logging.properties ファイル例

デフォルトでは、Generic Executor はそのログ ディレクトリで logging.properties ファイルを作成しません。 ログはすべて ~GE/ログ ディレクトリで生成されます。 以下の例では、logging.properties ファイルをログ ディレクトリに作成して、Generic Executor ログをリダイレクトする方法を示します(Windows プラットフォーム以外)。

#Properties for Logger
#Tue May 07 04:08:45 EDT 2013
com.torokina.common.logging.apache.FileHandler.directory=/opt/CA/CAMM/GE/logs
handlers=com.torokina.common.logging.apache.FileHandler
com.torokina.common.logging.apache.FileHandler.level=INFO
.level=INFO
com.torokina.common.logging.apache.FileHandler.prefix=CAMM-Generic-Executor-