ELog

From ESS-WIKI
Jump to: navigation, search

Introduction

eLog is a debug logging tools and framework for Windows and Linux. It is a elasticity architecture, user can integrate its own log libraries with eLog. For example, eLog supports Linux systemlog and ElasticSearch log mechines.

User can access any type log with unify API interfaces.

eLog

ELog framework.jpg

Feature

Name Description Note
AdvLog To unify the log format and API SDK in C/C++. configure: log.ini
Log Mgt RESTful and websocket for controlling EdgeSense log function integrate in API-GW
Data Flow special log type for logging micro service message path

Types of eLog

Type Description Note
print print log msg to console
file save log in file recycle, max files
ElasticSearch save log to ElasticSearch DB
systemlog save log to linux system log Linux only


Syslog Server

Software Name License Comment
Visual Syslog Server (Win)

link
Kiwi Syslog Server (Win)

link
Busybox syslog server

link
SyslogServer (node.js package)

link



Syslog Client

Software Name License Comment
Uclibc syslog client

link
syslog-client (node.js)
link






Tools

logshow

src repo 在

https://github.com/sammtcbn/logshow

Usage

./logshow [logfile] [start date] [start time] [end date] [end time]

Example 1

./logshow /var/log/syslog 20180615 10:01:02 20180615 12:03:04

Example 2 - dump result to a file

./logshow /var/log/syslog 20180615 10:01:02 20180615 12:03:04 > mylog