Blancco Management Console uses standard Apache Log4j2 as the logging framework. In addition, Apache Tomcat implements the access logging.Following directories are used for storing log files:ConsoleはロギングフレームワークにApache Log4j2をアクセスログにはApache Tomcatの標準機能を使用しています。 ログファイルの保存場所は次の通りです。 - Log4j: [Installation pathインストールパス]\logs\
- Apache Tomcat: [Installation pathインストールパス]\apache-tomcat\logs\
Log4j configuration The configuration file is located at: [Installation pathLog4jの構成 構成ファイルの場所は「 [インストールパス]\apache-tomcat\webapps\ROOT\WEB-INF\classes\log4j2.xml.xml」です。 Blancco Management Console is required to be restarted after changes of log configuration file. The main log level can be set by XML element: <Root levelログ構成ファイルの変更後、Blancco Management Consoleを再起動するまで変更は反映されませんのでご注意ください。
「main.log」のログレベルは同ファイル内でXML要素「<root level = "info">>」のように定義されており、以下に挙げるログレベルへと変更が可能です。
Available logging levels使用可能なログレベル: - trace - log all HTTP communication messages with erasure clients and 消去クライアントソフトと資産管理システム (Asset Management System (, AMS) とのHTTP通信メッセージをすべてログに出力します。
- debug - logs verbose debug information, not recommended in production詳細なデバッグ情報まで記録します。実稼動環境(本番環境)では推奨されません。l
- info - the default logging level of Blancco Management ConsoleConsoleのデフォルトのログレベル。
- audit - info level logging and audit logging to the separate file 別のファイル (audit.log) にinfoレベルログと監査ログを出力します。
- warn - logs warnings and errors警告とエラーを出力。
- error - logs only errorsエラーのみを出力。
- off - logging is completely disabled
Log4j archives old log files into ZIP files. The maximum size of open log file is defined by XML element <SizeBasedTriggeringPolicy sizeLog4jは古いログファイルをZIPファイルにアーカイブします。ログファイルの最大容量はXML要素「<SizeBasedTriggeringPolicy size="100MB"/>, separately for main.log and audit.log.Archived log files are stored into date formatted path: [Installation path>」によって定義され、main.logとaudit.logに個別に設定されます。 アーカイブの保存パスは「 [インストールパス]/logs/archive-logs/<yyyy-mm>/<app|audit>-yyyy-mm-dd-n.log.zipzip」です。
Apache Tomcat logging configuration The access logging is implemented by standard Apache Tomcat AccessLogValve in server.xml. By default the pattern is 'common' but also 'combined' can be used. The access logs are written into daily files named bmcTomcatロギング構成 アクセスログはApache Tomcat標準の「AccessLogValve」で実装されており、「server.xml」ファイル内に定義されています。デフォルトではパターン「common」を指定していますが「combined」も使用できます。 アクセスログファイルは「bmc_access_log.<yyyy-mm-dd>.txt.txt」という形式の日次ファイルに保存されます。 |