Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateFile appender unable to create folder #207

Closed
alexyma opened this issue Jun 19, 2014 · 2 comments
Closed

DateFile appender unable to create folder #207

alexyma opened this issue Jun 19, 2014 · 2 comments

Comments

@alexyma
Copy link

alexyma commented Jun 19, 2014

I would like to create daily log files in a daily folder and define a pattern like this
"pattern": "\yyyyMMdd\logfile

Log4js failed to write if the directory doesn't exist. I need to write other code to create the folder ahead of time.

Will Log4js be able to handle creation of folder if it doesn't exist?

@CharlieHess
Copy link

Looks like a dupe of #211.

@nomiddlename
Copy link
Collaborator

File appenders are able to create missing directories now. Please re-open if this is still a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants