Skip to content

fengbaoli/log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real time log synchronization

#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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published