#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:wenyefbl@163.com
fengbaoli/log
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|