Is it possible too Switch off or change the log level for CodeDeploy Logs?

0

When I run a CodeDeploy deployment there is a script called "scripts.log" that is added to the code agent output on the target server that contains logs related to the lifecycle hook scripts. Is it possible to either change the log level on these or switch them off?

thanks

質問済み 2年前189ビュー
1回答
0

Hi!

CodeDeploy does support Environment Variables, thereby affecting a number of operational parameters. If you read the AWS documentation as specified on: https://aws.amazon.com/about-aws/whats-new/2015/05/aws-codedeploy-supports-environment-variables/ you will see that there is a statement - Common use cases for environment variables include varying the application server port or the logging level based on whether the script is running in the “Staging” or “Production” deployment group.

Further, reading thru the blog post as mentioned in the same article, there is an explanation of how to change the code to change logging levels. This is will require some coding knowledge.

I hope this helps.

If you find that I have answered your query, please help me by marking it as an accepted answer.

AWS
ART
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ