[Need Help] How to Configure logging and tracing settings for the stage using serverless yml file

Hello,

Can anybody help with “How to Configure logging and tracing settings for the stage”?

Basically i would like to do these settings based on different environments like:

Enable CloudWatch Logs & Metrics for Stage with

Log level - ERROR in PROD and STAGING
Log Level - INFO in DEV and TEST
Disable X-Ray tracing for all env