log4js-node / log4js-node/streamroller

Improve the format of the rotation template by date

Open
#37 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
38
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Is it possible to add the ability to rotate by date so that you can specify not only the pattern, but also the path using the pattern.
For example: filePattern="logs/arch/{yy-MM-dd}/add/update.log"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how filePattern is handled in streamroller's existing date/time rollover path. Define how a date token in a directory path should be expanded, using logs/arch/{yy-MM-dd}/add/update.log as the target behavior. Done means rotation creates and writes to the date-based path while preserving existing pattern behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.