Server-side log collection

improve this page | report issue


Logging is the instrumentation of source code that uses API calls to record messages in order to facilitate diagnostics and debugging. The MobileFirst Server gives you the ability to control which logs should be collected remotely. This gives the server administrator more fine tuned control over the server resources.

Logging libraries typically have verbosity controls that are frequently called levels. From least to most verbose: ERROR, WARN, INFO, and DEBUG.

Log Collection in Adapters

Logs in adapters can be viewed in the underlying application server logging mechanism.
In WebSphere full profile and Liberty profile the messages.log and trace.log files are used, depending on the specified logging level.

These logs can also be forwarded to the Analytics console as explained in the tutorials for Java adapters and JavaScript adapters.

Accessing the log files

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 December 14, 2018