View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006154 | unreal | ircd | public | 2022-07-08 07:51 | 2022-08-20 14:25 |
Reporter | syzop | Assigned To | syzop | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | 6.0.4 | ||||
Fixed in Version | 6.0.5-rc1 | ||||
Summary | 0006154: log block: create directory structure | ||||
Description | Right 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. | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
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. |
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 |