0.0
No commit activity in last 3 years
No release in over 3 years
Gem compress to log application
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

= 1.1.6
= 0.3
 Project Readme

.::ALFACON::.Dev-Team.::.

CompressLog

Handles and compact log files.

Install:

gem 'compresslog'

How To Use:

To compact all logs just if its needed:

log_compress_full

To check if backup is needed:

backutp_is_needed?

To backup log files made by LogRotate:

log_compress

To delete log files with format 'log.0, log.1, ..' use:

log_delete

To make all process: verificar a necessidade -> compactar log -> excluir logs

log_compress_full

Automatização

Use alguma Gem como 'rufus-scheduler' para automatizar o backup em um período x.