首页 > 解决方案 > Kubernetes-pod 有哪些不同的日志级别?它的作用是什么?

问题描述

kubernetes pod 有一些日志级别,比如WARNING, CRITICAL,ERROR , TRACE, DEBUG 有人可以列出 kubernetes 中的所有日志级别及其功能吗

喜欢ERROR错误信息

Kubernetes pod 日志文档的链接

# kubectl logs carts-78f46c5569-cv5wq -n sock-shop
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=64m; support was removed in 8.0
2020-07-16 12:58:54.877  INFO [bootstrap,,,] 6 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@51521cc1: startup date [Thu Jul 16 12:58:54 GMT 2020]; root of context hierarchy
2020-07-16 12:58:55.867  INFO [bootstrap,,,] 6 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$b894f39] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

标签: kubernetesgoogle-kubernetes-enginekubernetes-pod

解决方案


推荐阅读