docker container json log showing INFO and WARNING statements with stderr as stream

孤者浪人 提交于 2021-01-29 14:41:58

问题


On <Container Id>-json.log finding some entries with INFO and WARNING with stream as stderr. Actually, these have to be with stream as stdout. Can anybody give a clue to where exactly I need to look into this? Is this docker related configuration or my application related configuration? Example,

{"log":"[2020/02/20-08:50:26,557]-[**INFO**   ]-[362]-[testlogger]--4: 202a68dfd8621ee9de1a7ff4\n","stream":"stderr","time":"2020-02-20T08:50:26.55867314Z"}

来源:https://stackoverflow.com/questions/60333643/docker-container-json-log-showing-info-and-warning-statements-with-stderr-as-str

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!