Skip to content

regololab/log-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

log-compression

read and compress custom log file

Use

In log_list.yaml add list custom log:
#list file log
log1: /var/log/my_log/log.log
log2: /var/log/my_log3/log.log
log3: /var/www/html/project/log/namelog.log

in crontab

add row:
* 4 * * * /usr/bin/python3 [address file]/log_compression.py

About

read and compress custom log file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages