Configure Log Levels for Services
While running your application, sometimes you need to output some information about the application behaviour in a certain way, this is called application logging. There are different detail levels of logging that you can configure based on the data you need. To configure your log level in the Workbench, this can be done across a whole project (Deployment target), for a certain service or for a component in your composed application.
Descriptionโ
As described, application logging is a way of logging certain information about the application. This can be helpful in case of a failure in production. The log level indicates the level of information that is output. There are seven log levels, in hierarchy from most detailed to least; ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL. Each indicates a different level of information to be output.
Please note that the links to the workbench tools in this tutorial only apply to the IBM Education Environment we provide. If you are using a different environment, e.g. your own installation, you will need to navigate directly to the required tools.
Preconditionโ
- You have modelled your services and successfully run your deployment pipeline at least once.