从Java应用程序的不同实例集中日志
我需要集中在产品环境中部署在2个不同服务器中的应用程序的2个日志文件。
如果可能的话,我想使用logback而不是logstash,因为我们已经在Java应用程序中支持了它。
我做了一些研究,但是我发现了很多用于生成更多日志文件的解决方案,但不是要结合我已经拥有的日志文件。
我想实现的是这个两个日志文件的合并要么在新的日志文件中或数据库中中,因为这样我需要通过REST服务发送此2个日志的联合。
你能帮我吗? 谢谢
I have a need to centralize the 2 logs file of my application deployed in 2 different server in prod environment.
If possible I would like to use logback and not logstash cause we already support it in the java app.
I did some research but I found lot of solutions for generate more log files but not to unite the ones I already have.
What I would like to achieve is the merge of this 2 logs file either into a new log file or in a database because then I need to send the union of this 2 logs through a REST Service.
Could you help me?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论