peacewong opened a new issue #1640: URL: https://github.com/apache/incubator-linkis/issues/1640
### Search before asking - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues. ### Linkis Component linkis-cg-entrance ### What happened + What you expected to happen LogReader uses a singleton inputstream, and there is a log loss bug. When too many logs are persisted to a file, the singleton inputStream cannot read the latest persistent log. LogReader 使用了单例的inputstream存在日志丢失Bug,当日志过多持久化到文件后,因为单例的inputStream读取不到最新持久化的日志 ### Relevent platform all ### Reproduction script no ### Anything else Suggested optimization to reproduce the way the InputStream is created every time it is needed ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@linkis.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@linkis.apache.org For additional commands, e-mail: dev-h...@linkis.apache.org