Skip to content

Two simple ways to handle znc log files if using the logging mod

Notifications You must be signed in to change notification settings

k0nsl/znc-logging

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

znc-logging

File: znc_cron_log

  • Install with crontab -e as your znc user (or root, doesn't matter). This script will remove files older than 30 days (based on modify time) and also automatically gzip files older than 7 days. This is set to run at 23:00 (11:00PM) every day.

File: znc_logrotate

  • A more hands off approach, just let logrotate handle it! Compresses + removes logs older than 30 days.

About

Two simple ways to handle znc log files if using the logging mod

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%