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

**URL:** <https://forum.serverless.com/t/need-help-how-to-configure-logging-and-tracing-settings-for-the-stage-using-serverless-yml-file/14094>\
**Category:** Serverless Framework\
**Created:** [February 18, 2021, 4:46am UTC](https://forum.serverless.com/t/need-help-how-to-configure-logging-and-tracing-settings-for-the-stage-using-serverless-yml-file/14094 "2021-02-18T04:46:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paragma](https://avatars.discourse-cdn.com/v4/letter/p/c4cdca/32.png) [@paragma](https://forum.serverless.com/u/paragma)\
**Post date:** [February 18, 2021, 4:46am UTC](https://forum.serverless.com/t/need-help-how-to-configure-logging-and-tracing-settings-for-the-stage-using-serverless-yml-file/14094/1 "2021-02-18T04:46:09Z")

</div>

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
