For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Log and trace collection
IBM® Containers for Bluemix® provides some built-in logging and monitoring capabilites around container CPU, memory, and networking. We can optionally change the log levels for our MobileFirst containers.
The option to create log files for the MobileFirst Server and MobileFirst Analytics containers is enabled by default (using level *=info). We can change the log levels by either adding a code override manually or by injecting code using a given script file.
Both container logs and server or runtime logs can be viewed from a Bluemix logmet console by means of the Kibana visualization tool. Monitoring can be done from a Bluemix logmet console by means of Grafana, an open source metrics dashboard and graph editor.
When wer IBM MobileFirst™ Platform Foundation container is created with a Secure Shell (SSH) key and bound to a public IP address, a suitable private key can be used to securely view the logs for the container instance.
- Logging overrides
We can change the log levels by either adding a code override manually or by injecting code using a given script file.- Accessing log files
Logs are created for each container instance. We can access log files using the IBM Container Cloud Service REST API, by using cf ic commands, or by using the Bluemix logmet console.- Container log files
This topic contains information about V8.0.0 log file locations and persistence.
Parent topic: IBM MobileFirst Platform Foundation on cloud