服务器端日志收集

improve this page | report issue


概述

日志记录是使用 API 调用来记录消息,从而促进诊断和调试的源代码工具。 MobileFirst Server 允许您远程控制应当收集的日志。 这使得服务器管理员能够更加细微地控制服务器资源。

日志记录库通常具有常常称为级别的详细程度控制。 从最低到最高详细度为:ERROR、WARN、INFO 和 DEBUG。

适配器中的日志集合

可以在底层应用程序服务器日志记录机制中查看适配器中的日志。
在 WebSphere 完整概要文件和 Liberty 概要文件中,根据指定的日志记录级别,使用 messages.logtrace.log 文件。

Java 适配器JavaScript 适配器的教程中所述,也可以将这些日志转发至分析控制台。

访问日志文件

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 June 01, 2020