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

Dynamic Directory name #41

Closed
mihaivader opened this issue Jun 13, 2016 · 3 comments
Closed

Dynamic Directory name #41

mihaivader opened this issue Jun 13, 2016 · 3 comments

Comments

@mihaivader
Copy link

mihaivader commented Jun 13, 2016

Is there any plan to add DirectoryName for Azure Blob Appender in the near future?
It would be really helpful if the DirectoryName could be specified as a date format from the configuration file.

Something like yyyy-MM-dd, so that we end up with one folder per day.

Thanks for the great work 👍

@stemarie
Copy link
Owner

stemarie commented Jul 3, 2016

I like this idea
Let me look into that

@mihaivader
Copy link
Author

Thanks :)

Another thing that might be helpful would be to create sub folders (per log type) under that "day" folder.
An application would log a ton of INFOs but on eventual ERRORs and it would be nice to have the option of splinting them into separate folders by type.

The reason for this is that keeping all logs in blob storage is really cheap, but in order to look through them one would need to use a log aggregation service. Placing them into folder per log type would add some extra flexibility to that service and also for the developer - you could just look into the ERROR folder and see if there's anything there.

Anyway, thanks for looking into this 👍

@jorupp
Copy link
Contributor

jorupp commented Jan 11, 2017

@mihaivader - you might also be able to achieve what you're looking for by outputting the logs to two different appenders, one of which is configured to filter out non-ERROR events, and setting the path differently.

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

No branches or pull requests

3 participants