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....") |
Eric.liang (talk | contribs) |
||
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 = | ||
− | == | + | == Feature == |
{| border="1" cellspacing="1" cellpadding="1" style="width: 563px;" | {| border="1" cellspacing="1" cellpadding="1" style="width: 563px;" | ||
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 |
|} | |} | ||
+ | |||
+ | |||
+ | |||
+ | = Note = | ||
+ | |||
+ | == systemlog == | ||
+ | |||
+ | 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 |
Revision as of 03:58, 19 June 2018
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 logging API SDK libraries 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 |
Note
systemlog
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