Centralized Log Management Scheme for Distributed System Based on OSGi
CSTR:
Author:
Affiliation:

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    At present, the distributed business application logs are stored in the local log files on distributed servers, and there is no centralized storage and management, which leads to slow positioning speed for business system problems, and low efficiency in solving problems. This paper provides a distributed log collection and analysis scheme based on OSGi technology. It uses a centralized log storage server to store the log, and provides a set of general log model, so that distributed business application nodes can send the log data to the servers, based on the model. The log storage server receives log data of each node and then unifies storage and interface of analysis display, helping developers to quickly locate and analyze the problem. The scheme is deployed to the application system in the form of the OSGi plug-in, and log is stored in the original way after unloading the OSGi plug-in. Application results show that when the log management scheme is applied to 1000 concurrent business applications which perform logging, the access performance is improved to 2 seconds, and there is no log data loss. According to the developers' feedback, the error logs are clearer, the time of locating problems is obviously shorter than ordinary log storage.

    Reference
    Related
    Cited by
Get Citation

王宇飞,刘丹,吴嘉生.基于OSGi的分布式系统集中日志管理方案.计算机系统应用,2017,26(6):59-64

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:September 28,2016
  • Revised:October 27,2016
  • Adopted:
  • Online: June 08,2017
  • Published:
Article QR Code
You are the firstVisitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-3
Address:4# South Fourth Street, Zhongguancun,Haidian, Beijing,Postal Code:100190
Phone:010-62661041 Fax: Email:csa (a) iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063