View Issue Details

IDProjectCategoryView StatusLast Update
0006154unrealircdpublic2022-08-20 14:25
Reportersyzop Assigned Tosyzop  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version6.0.4 
Fixed in Version6.0.5-rc1 
Summary0006154: log block: create directory structure
DescriptionRight now we have something like:
log ircd.%Y-%m-%d.log {
It would be nice if you could do...
log %Y-%m-%d/ircd.log {
... and UnrealIRCd would mkdir() the directories automatically if needed.
TagsNo tags attached.
3rd party modules

Activities

syzop

2022-08-20 14:25

administrator   ~0022624

commit 55c52c3693b95611866d4e2115308cd85482bd53
Author: Bram Matthys <[email protected]>
Date: Fri Aug 5 10:56:00 2022 +0200

    Log file (log::destination::file) now creates directory structure if needed.
    You could already have something like:
    log { source { !debug; all; } destination { file "ircd.%Y-%m-%d.log"; } }
    But now you can also have:
    log { source { !debug; all; } destination { file "%Y-%m-%d/ircd.log"; } }
    
    This is especially useful if you output to multiple log files and then
    want them grouped by date in a directory.

Issue History

Date Modified Username Field Change
2022-07-08 07:51 syzop New Issue
2022-07-08 07:51 syzop Status new => acknowledged
2022-08-20 14:25 syzop View Status private => public
2022-08-20 14:25 syzop Assigned To => syzop
2022-08-20 14:25 syzop Status acknowledged => resolved
2022-08-20 14:25 syzop Resolution open => fixed
2022-08-20 14:25 syzop Fixed in Version => 6.0.5-rc1
2022-08-20 14:25 syzop Note Added: 0022624