Server-side log collectionimprove 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.
Accessing the log files
- In an on-prem installation of the MobileFirst Server, the file is available depending on the underlying application server.
- To get to the logs in a cloud deployment in:
- Mobile Foundation IBM Cloud service, see Accessing server logs section in the Using Mobile Foundation tutorial.
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.