Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Logging 将liberty日志直接写入graylog_Logging_Docker_Graylog - Fatal编程技术网

Logging 将liberty日志直接写入graylog

Logging 将liberty日志直接写入graylog,logging,docker,graylog,Logging,Docker,Graylog,我正在运行liberty appserver容器。如何确保所有appserver日志(messages.log、console.log、ffdc等)都直接进入graylog,并且根本不写入appserver容器中?请注意,这里的中心思想是,日志永远不应写入容器中,因为它会不断消耗内存并随时间增加容器大小。我们也有不使用数据量的限制。因此,我没有找到任何精确的解决方案。继续日志循环。首先检查有关日志记录的Websphere Liberty文档:

我正在运行liberty appserver容器。如何确保所有appserver日志(messages.log、console.log、ffdc等)都直接进入graylog,并且根本不写入appserver容器中?请注意,这里的中心思想是,日志永远不应写入容器中,因为它会不断消耗内存并随时间增加容器大小。我们也有不使用数据量的限制。

因此,我没有找到任何精确的解决方案。继续日志循环。

首先检查有关日志记录的Websphere Liberty文档: