kubernetes - Kubernetes-pod 有哪些不同的日志级别?它的作用是什么?
问题描述
kubernetes pod 有一些日志级别,比如WARNING, CRITICAL,ERROR , TRACE, DEBUG
有人可以列出 kubernetes 中的所有日志级别及其功能吗
喜欢ERROR
错误信息
# 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)
解决方案
推荐阅读
- sql - 重复orderid时如何删除记录
- postgresql - 保护敏感的 postgres 数据免受特权用户的攻击
- sql - 将字符串转换为结构数组,然后在另一个表 SQL 中查找值
- android - 搞砸我的安卓设计和我设计的不一样
- google-app-engine - 未找到 GCP AppEngine favicon.ico
- java - 将纬度/经度转换为美国州
- javascript - 如何根据数组属性的索引拆分和合并javascript对象
- linux - 使用 awk 打印列及其标题
- android - 应用程序要求读取电话状态权限,而清单文件中没有任何声明
- numpy - 如果包含 na 值,则从 3d 数组中删除 2d 数组