1

My logback logs from a Java app are generated in json format. The node service is generating json logs via bunyan. Is it possible to use the buynan cli on the logback log stream to make the those logs human readable like the cli can for the node buynan logs? or is there a similar cli to use for logback output reformatting?

4

1 回答 1

1

只要您将 logback 格式化程序配置为以 bunyan 期望的格式输出,那么是的,这应该可以工作。事实上这是个好主意。

于 2015-12-17T15:33:56.940 回答