Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如何在aws cloudwatch中禁用调试日志_Java_Amazon Web Services_Spring Boot_Amazon S3 - Fatal编程技术网

Java 如何在aws cloudwatch中禁用调试日志

Java 如何在aws cloudwatch中禁用调试日志,java,amazon-web-services,spring-boot,amazon-s3,Java,Amazon Web Services,Spring Boot,Amazon S3,我想将日志级别设置为info(使用springboot)。我通过application.properties进行了限制 logging.level.root=INFO logging.level.org.springframework.web=INFO logging.level.org.hibernate=ERROR 在本地作为独立应用程序运行良好 当我转换为aws lambda时,它不会将日志级别设置为info并获取不需要的默认调试日志。请看下面的日志 10:15:35 10:15:35

我想将日志级别设置为info(使用springboot)。我通过application.properties进行了限制

logging.level.root=INFO
logging.level.org.springframework.web=INFO
logging.level.org.hibernate=ERROR 
在本地作为独立应用程序运行良好

当我转换为aws lambda时,它不会将日志级别设置为info并获取不需要的默认调试日志。请看下面的日志

10:15:35
10:15:35.140 [main] DEBUG org.springframework.context.annotation.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@77167fb7
10:15:35.140 [main] DEBUG org.springframework.context.annotation.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@77167fb7

10:15:35
10:15:35.178 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'

10:15:35
10:15:35.560 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor'

10:15:35
10:15:35.563 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory'

10:15:35
10:15:35.566 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'

10:15:35
10:15:35.568 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'

10:15:35
10:15:35.584 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'webConfigLambda'

10:15:35
10:15:35.591 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'getRestTemplate'

10:15:36
10:15:36.263 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean '
请帮我解决这个问题