Google Stackdriver日志记录中的日志级别

时间:2016-03-31 19:15:34

标签: google-compute-engine google-cloud-platform stackdriver

已配置的Google Stackdriver登录其中一个GCE VM,一切正常,但日志级别除外。在文件

中使用了参数log_level
  

/etc/google-fluentd/config.d/tomcat.conf

按照http://docs.fluentd.org/articles/in_tail中的规定 但即便如此,在Console Log Viewer中也无法查看不同级别的日志。有没有特定的方法来为Google Cloud配置流畅的代理?

1 个答案:

答案 0 :(得分:4)

流利的Google Cloud输出插件目前使用severity字段来指示日志级别。有关详细信息,请参阅this issue。有an open request可以配置它。