Appendix D: Log Level
Operations Conductor enables you to change the log level of each microservice AWS Lambda function. To change the log level, you can change either the AWS CloudFormation stack parameter or each Lambda function’s environment variable.
AWS CloudFormation Stack Parameter
To change the entire log level of microservice Lambda functions, you can update the CloudFormation stack parameter. When you change the Log Level parameter and update the AWS CloudFormation stack, it will automatically deploy the new log level to all AWS Lambda functions.
Lambda Function Environment Variable
Each Lambda function has a LogLevel
environment variable. To change the value, you can change only specific microservice
Lambda function’s log level.
Supported Log Level
These are the supported log levels, and if you put other values, the microservice will change it to the default value, 2 (Info).
Parameters | Log Level | Description |
---|---|---|
0 | Trace | The minimum log level is trace |
1 | Debug | The minimum log level is debug |
2 | Info | The minimum log level is info |
3 | Warn | The minimum log level is warn |
4 | Error | The minimum log level is error |
5 | Fatal | The minimum log level is fatal |