Difference between revisions of "ELog"
From ESS-WIKI
Eric.liang (talk | contribs) (Created page with "= 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....") |
(.) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
= Introduction = | = 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. | + | 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. | User can access any type log with unify API interfaces. | ||
Line 7: | Line 7: | ||
= eLog = | = eLog = | ||
− | == | + | [[File:ELog framework.jpg|800x500px|ELog framework.jpg]] |
+ | |||
+ | == Feature == | ||
{| border="1" cellspacing="1" cellpadding="1" style="width: 563px;" | {| border="1" cellspacing="1" cellpadding="1" style="width: 563px;" | ||
Line 16: | Line 18: | ||
|- | |- | ||
| style="width: 69px;" | AdvLog | | style="width: 69px;" | AdvLog | ||
− | | style="width: 336px;" | To unify the | + | | style="width: 336px;" | To unify the log format and API SDK in C/C++. |
| style="width: 140px;" | configure: log.ini | | style="width: 140px;" | configure: log.ini | ||
|- | |- | ||
Line 27: | Line 29: | ||
| style="width: 140px;" | <br/> | | style="width: 140px;" | <br/> | ||
|} | |} | ||
− | |||
− | |||
== Types of eLog == | == Types of eLog == | ||
Line 52: | Line 52: | ||
| style="width: 105px;" | systemlog | | style="width: 105px;" | systemlog | ||
| style="width: 216px;" | save log to linux system log | | style="width: 216px;" | save log to linux system log | ||
+ | | Linux only | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | = Syslog Server = | ||
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
+ | |- | ||
+ | | style="text-align: center;" | '''Software Name''' | ||
+ | | style="text-align: center;" | '''License''' | ||
+ | | style="text-align: center;" | '''Comment''' | ||
+ | |- | ||
+ | | Visual Syslog Server (Win)<br/> | ||
+ | | <br/> | ||
+ | | [https://maxbelkov.github.io/visualsyslog/ link]<br/> | ||
+ | |- | ||
+ | | Kiwi Syslog Server (Win)<br/> | ||
+ | | <br/> | ||
+ | | [https://www.kiwisyslog.com/kiwi-syslog-server link]<br/> | ||
+ | |- | ||
+ | | Busybox syslog server<br/> | ||
+ | | <br/> | ||
+ | | [https://github.com/brgl/busybox/blob/master/sysklogd/syslogd.c link]<br/> | ||
+ | |- | ||
+ | | SyslogServer (node.js package)<br/> | ||
+ | | <br/> | ||
+ | | [https://www.npmjs.com/package/syslog-server link] | ||
+ | |- | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |} | ||
+ | |||
+ | = Syslog Client = | ||
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
+ | |- | ||
+ | | style="text-align: center;" | '''Software Name''' | ||
+ | | style="text-align: center;" | '''License''' | ||
+ | | style="text-align: center;" | '''Comment''' | ||
+ | |- | ||
+ | | Uclibc syslog client<br/> | ||
+ | | <br/> | ||
+ | | [https://github.com/hwoarang/uClibc/blob/master-metag/libc/misc/syslog/syslog.c link]<br/> | ||
+ | |- | ||
+ | | syslog-client (node.js) | ||
+ | | <br/> | ||
+ | | [https://www.npmjs.com/package/syslog-client link] | ||
+ | |- | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | <br/> | ||
+ | | <br/> | ||
| <br/> | | <br/> | ||
|} | |} | ||
+ | |||
+ | = Tools = | ||
+ | |||
+ | == logshow == | ||
+ | |||
+ | src repo 在 | ||
+ | |||
+ | [https://github.com/sammtcbn/logshow 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 | ||
+ | [[Category:Pages with broken file links]] |
Latest revision as of 08:56, 20 December 2018
Contents
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
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 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