You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "rhh777 (via GitHub)" <gi...@apache.org> on 2024/03/08 08:12:12 UTC

[I] [Improvement] Question about the JSON Event Log [kyuubi]

rhh777 opened a new issue, #6149:
URL: https://github.com/apache/kyuubi/issues/6149

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What would you like to be improved?
   
   https://github.com/apache/kyuubi/blob/6fc7552ef05c83cfb8a2cd56d80c02c6e8a033c7/kyuubi-events/src/main/scala/org/apache/kyuubi/events/handler/JsonLoggingEventHandler.scala#L94
   In some cases, the current JSON event will not append files when writing, but will clear the file content to continue writing. For example, after the start event of kyuubi server is triggered, server - ${ip}. json will be cleared, resulting in the loss of previous event logs.
   Is this design because the eventlog cannot automatically expire and delete?
   
   ### How should we improve?
   
   Can configuration be added to control whether the event needs to append file writing.
   
   ### Are you willing to submit PR?
   
   - [X] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
   - [ ] No. I cannot submit a PR at this time.


-- 
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: notifications-unsubscribe@kyuubi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] [Improvement] Question about the JSON Event Log [kyuubi]

Posted by "yaooqinn (via GitHub)" <gi...@apache.org>.
yaooqinn commented on issue #6149:
URL: https://github.com/apache/kyuubi/issues/6149#issuecomment-1985242598

   Maybe we can perform a rotation for previous json file, like what we do for the server logs


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org