Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Created date作成日Updated date更新日Affects version影響を受けるバージョンFix version修正バージョン

 

...




説明

Blancco Management Console uses Apache Tomcat, meaning a lot of Apache documentation can also be applied to Management Console. To generate logging files mentioned in this article, see How to collect log files and system information from the Management Console.(BMC) はApache Tomcatを使用しているため、多くのApacheに関するドキュメントをManagement Consoleにも応用することができます。この記事に記載されているログファイルを生成する方法は、Management Consoleからログファイルとシステム情報を収集する方法を参照してください。


UI Tabs
UI Tab
titleBlancco Management Console log filesConsoleのログファイル

Blancco Management Console activity is logged in detail. Sometimes troubleshooting an issue might require inspecting the log files. Consoleの動作内容はログに記録されます。問題のトラブルシューティングには、このログファイルの調査が必要となる場合があります。 

ログファイルを生成するとconfiglogs の2つのフォルダが作成されます。その他に、システム情報およびBMCから収集されたファイルのリストを含むWhen generating the log files, two folders are created, config and logs. In addition, an sdt_report.txtis created from the Blancco Management Console Diagnostics Core which includes some system information and list of collected files from BMC.をBlancco Management Console診断コアが作成します。

config -

folder 

フォルダ 

  • build.properties - BMC information used when building the serviceサービスの構築時に使用されるBMCの情報
  • configuration.properties - All active configuration settingsすべての有効な構成設定
  • log4j2.xml - Logging settings for BMC log filesBMCのログファイルのログ出力設定
  • main.properties - General, database, BI and report transfer settings一般、データベース、BI、そしてレポート転送の設定
  • server.xml - Tomcat's main configuration file, includes the server port and HTTP Connector settingsTomcatの主要構成ファイル。サーバーポートおよびHTTPコネクタの設定を含みます。
  • wrapper.conf - Wrapper properties  ラッパープロパティ 

logs -

folder

フォルダ

  • audit.log - Logs all user activityすべてのユーザー操作ログ
  • bmc_access_log - HTTP requests handled by the web serverWebサーバーが処理するHTTPリクエスト
  • catalina.log - Catalina logging (BMC's servlet containerCatalinaのログ出力 (BMCのサーブレットコンテナ)
  • host-manager.log - Logs of any related web applications (not used in BMC)Webアプリケーション関連のログ (BMCでは使用されない)
  • install.log - Logs from the initial install of BMCBMC初期インストール時のログ
  • localhost.log - Logs of the hostホスト関連ログ
  • main.log - General activity of the serviceサービスの活動全般
  • manager.log - Logs of any related web applications (not used in BMC)Webアプリケーション関連のログ (BMCでは使用されない)
  • trace.log - Logs HTTP communication with erasure clients and 消去クライアントと資産管理システム  (Asset Management System (, AMS) , needs to be enabled by editing the logging level of log4j2.xml to traceとのHTTP通信をログに記録します。log4j2.xmlファイルのlogging levelをtraceに変更して有効にする必要があります。
  • wrapper.log - Wrapper logsラッパーのログ

Note! All access log files (bmc注意! 更新日数が28日以上経過したアクセスログファイル(bmc_access_log.*) that are older (modification time) than 28 days, are automatically deleted. The deletion happens after the first HTTP request after 00:00:00, when it also creates the new access log file for that day. )は、自動的に削除されます。ファイルの削除は、00:00:00以降の最初のHTTPリクエストの後に行われます。このとき、その日の新しいアクセスログファイルも作成されます。

UI Tab
titleConfiguring BMC logging levelsBMCのログレベル構成

Blancco Management Console uses standard Apache Log4j2 as the logging framework. In addition, Apache Tomcat implements the access logging.ConsoleはロギングフレームワークにApache Log4j2をアクセスログにはApache Tomcatの標準機能を使用しています。 

ログファイルの保存場所は次の通りです。Following directories are used for storing log files:

  • Log4j: [Installation pathインストールパス]\logs\
  • Apache Tomcat: [Installation pathインストールパス]\apache-tomcat\logs\

Log4j configuration

Log4jの構成

構成ファイルの場所は「 [インストールパスThe configuration file is located at: [Installation path]\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は古いログファイルをZIPファイルにアーカイブします。ログファイルの最大容量はXML要素「<SizeBasedTriggeringPolicy sizeLog4j archives old log files into ZIP files. The maximum size of open log file is defined by XML element <SizeBasedTriggeringPolicy size="100MB"/>, separately for main.log and audit.log.>」によって定義され、main.logとaudit.logに個別に設定されます。

アーカイブの保存パスは「 [インストールパスArchived log files are stored into date formatted path: [Installation path]/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.

Tomcatロギング構成

アクセスログはApache Tomcat標準の「AccessLogValve」で実装されており、「server.xml」ファイル内に定義されています。デフォルトではパターン「common」を指定していますが「combined」も使用できます。

アクセスログファイルは「bmcThe access logs are written into daily files named bmc_access_log.<yyyy-mm-dd>.txt.txt」という形式の日次ファイルに保存されます。