サーバー・サイドのログ収集

improve this page | report issue

概説

ロギングは、診断およびデバッグを容易にするために、API 呼び出しを使用してメッセージを記録するソース・コードの装備です。 MobileFirst Server は、どのログをリモート側で収集するかを制御する機能を提供します。 これにより、サーバー管理者はサーバー・リソースをさらにきめ細かく調整することができます。

ロギング・ライブラリーには通常、詳細度制御 (多くの場合、レベルと呼ばれる) があります。 詳細度の低い方から順に、ERROR、WARN、INFO、DEBUG です。

アダプター内のログ収集

基礎となるアプリケーション・サーバーのロギング・メカニズムで、アダプター内のログを表示できます。
WebSphere のフル・プロファイルおよび Liberty プロファイルでは、指定のロギング・レベルに応じて messages.log ファイルおよび trace.log ファイルが使用されます。

Java アダプターおよび JavaScript アダプターのチュートリアルで説明しているとおり、これらのログを Analytics コンソールに転送することもできます。

ログ・ファイルへのアクセス

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on February 28, 2020