Server-side log collection
Overview
Logging is the instrumentation of source code that uses API calls to record messages in order to facilitate diagnostics and debugging. The PMF 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
- In an on-prem installation of the PMF, the file is available depending on the underlying application server.