View Issue Details

IDProjectCategoryView StatusLast Update
0003623unrealircdpublic2008-06-18 14:18
ReporterDisredian Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
Platformi386OSFreeBSDOS Version6.2
Product Version3.2.6 
Summary0003623: Logging - Similar to Anope
DescriptionRE: ID 0003049

As a new feature I'd like to see some improvements to the logging system where a new log file is split up each day similar to how anope handles the logs instead of or as an option to the max size of the logfile.
TagsNo tags attached.
3rd party modules

Relationships

has duplicate 0003704 closed Dated log file 
related to 0003706 closedsyzop Create example cron scripts for log management 

Activities

Stealth

2008-02-11 17:02

reporter   ~0015095

On *nix this can be easily done with crontab:

@midnight mv log1.log log1.$(date '+%Y-%m-%d').log
@midnight mv log2.log log1.$(date '+%Y-%m-%d').log

There's really no need to clutter the code with logfile management more than trimming the files.

nate

2008-02-11 18:51

reporter   ~0015101

What if we made it an optional feature? sorta like the ircdcron?

Provide an example cronjob script that would show users how to do it?

*strokes goatee and ponders*

Stealth

2008-02-11 19:35

reporter   ~0015104

I'm sure including a cron script wouldn't be too hard for us to do... It's just kinda silly to have Unreal do it internally when most systems already have something to do it

Stealth

2008-06-18 14:18

reporter   ~0015307

Last edited: 2008-06-18 14:21

making a cron script for the users should be OK, just not in the IRCd...

We'll open a new issue for that

Issue History

Date Modified Username Field Change
2008-02-11 13:20 Disredian New Issue
2008-02-11 17:02 Stealth Note Added: 0015095
2008-02-11 18:51 nate Note Added: 0015101
2008-02-11 19:35 Stealth Note Added: 0015104
2008-06-18 14:18 Stealth Relationship added has duplicate 0003704
2008-06-18 14:18 Stealth QA => Not touched yet by developer
2008-06-18 14:18 Stealth U4: Need for upstream patch => No need for upstream InspIRCd patch
2008-06-18 14:18 Stealth Status new => closed
2008-06-18 14:18 Stealth Note Added: 0015307
2008-06-18 14:18 Stealth Resolution open => no change required
2008-06-18 14:21 Stealth Note Edited: 0015307
2008-06-18 21:04 Stealth Relationship added related to 0003706