View Issue Details

IDProjectCategoryView StatusLast Update
0003706unrealircdpublic2018-12-12 09:01
ReporterStealth Assigned Tosyzop  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Platform*OS*OS Version*
Product Version3.2.7 
Summary0003706: Create example cron scripts for log management
DescriptionSummary pretty much says it all. A feature to rename logs at the end of each day/week/whatever has been requested by many people, which can be done with cron or batch (win32) jobs to keep the bloat out of Unreal.

We should create the following examples and documentation:
* cron script for *nix, and install documentation
* .BAT file for Windows and documentation on using 'scheduled tasks'
* Perhaps maybe an OS-independent perl script too/instead of?
TagsNo tags attached.
3rd party modules

Relationships

related to 0003623 closed Logging - Similar to Anope 
related to 0003704 closed Dated log file 

Activities

syzop

2018-12-12 09:01

administrator   ~0020402

I think we can leave this over to 'logrotate' like all other daemons on *NIX.
For systems without it (eg: Windows), or users who don't need that much functionality, simply use log::maxsize to set a size limit:
* Then, once the log becomes full, ircd.log is renamed to ircd.log.old
* X days later, when the log is full again, the same thing happens (eg: after XX mb) the ircd.log.old is overwritten
[*] This basic and simple functionality was not available at the time when this bug was submitted. It was added in August 2015 by commit 3d60e89e546609706d039fa18f9f62bbd3941a40.

Issue History

Date Modified Username Field Change
2008-06-18 21:03 Stealth New Issue
2008-06-18 21:03 Stealth QA => Not touched yet by developer
2008-06-18 21:03 Stealth U4: Need for upstream patch => No need for upstream InspIRCd patch
2008-06-18 21:03 Stealth U4: Upstream notification of bug => Not decided
2008-06-18 21:03 Stealth U4: Contributor working on this => None
2008-06-18 21:04 Stealth Status new => acknowledged
2008-06-18 21:04 Stealth Relationship added related to 0003623
2008-06-18 21:04 Stealth Relationship added related to 0003704
2015-08-08 17:52 syzop Severity minor => feature
2018-12-12 09:01 syzop Assigned To => syzop
2018-12-12 09:01 syzop Status acknowledged => closed
2018-12-12 09:01 syzop Resolution open => fixed
2018-12-12 09:01 syzop Note Added: 0020402