open-job / openjob

Distributed high performance task scheduling framework
https://openjob.io
Apache License 2.0
922 stars 97 forks source link

日志集成报错 #129

Closed sunnyyuu closed 1 year ago

sunnyyuu commented 1 year ago

客户端是SpringBoot+Logback,当logger.info()打印一个比较长的文本日志时会报错如下,同时服务端任务日志中为空,未接收到日志内容。 [ERROR] [07/05/2023 18:35:01.024] [openjob-worker-akka.remote.default-remote-dispatcher-8] [Encoder(akka://openjob-worker)] Failed to serialize oversized message [ActorSelectionMessage(io.openjob.common.request.WorkerJobInstanceTaskLogRequest)]. akka.remote.OversizedPayloadException: Discarding oversized payload sent to Some(Actor[akka://openjob-server@192.168.0.238:25520/]): max allowed size 262144 bytes. Message type [ActorSelectionMessage(io.openjob.common.request.WorkerJobInstanceTaskLogRequest)].

stelin commented 1 year ago

@sunnyyuu 日志不超过长度,是否正常收集显示日志

stelin commented 1 year ago

超过长度,下个版本优化下 @sunnyyuu

sunnyyuu commented 1 year ago

@sunnyyuu 日志不超过长度,是否正常收集显示日志

正常。

stelin commented 1 year ago

@sunnyyuu 下个版本优化下长度问题

stelin commented 1 year ago

@sunnyyuu 已修复 1.0.6