#Introduction
####Real time log synchronization is a real-time log or file synchronization procedures, mainly contains two aspects: server client and client. Client mainly to collect the log or the contents of the document, server data is received and will receive data storage and documentation
#Support
######1 support configuration synchronization interval
######2 support synchronization from Linux to any directory to the windowns directory
######3 support print debug log
######4 support incremental log synchronization
#Install
######1 download log, the address is:
https://github.com/fengbaoli/log.git
######2 starts at server.py windowns (the default port is 8000).
######3 in the Linux side using git download
git clone https://github.com/fengbaoli/log.git
######4 to modify the collog.conf file below conf
[client]
logpath = /var/log/httpd'
=============>to log path acquisition
configfile = log.conf
=============>default parameters
ip = 10.224.192.132
=============>server ip
port = 8000
=============>server listener port
interval_time = 10
=============>collection interval time
[server]
BUFSIZE = 1024
=============>server end default parameters
port = 8000
=============>server listener port
'receive_path = logs' =============>collection log path
######5 start client
$bash cd log && start.sh
#Contact me
######Send email to:[email protected]
-
Notifications
You must be signed in to change notification settings - Fork 0
fengbaoli/log
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published