-
Notifications
You must be signed in to change notification settings - Fork 90
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
Index name with format date YYYY.MM instead YYYY.MM.DD #128
Comments
Hi! I am having the same issue and cannot find a workaround :( Tried to add datepattern tag but it did not help. Any input would be appreciated. |
@niccolettag I found solution, but this is not good. |
You can customize by setting the format on the appender configuration, like this:
|
Changing the value to "yyyy-MM" does not work and seemingly just defaults back to "yyyy-MM-dd". We are using log4net.ES v2.5.0 and log4net v2.0.8 |
Hello everyone!
I have issue with rolling index names.
How I can provide my specify format of date for rolling?
I use 2.3.7.0 version.
I saw source code of 2.5.0 version and this version has
public string RollingIndexNameDateFormat { get; set; } = "yyyy.MM.dd";
. Okay, I can update to 2.5.0 but don't found info in docs how I can customize this RollingIndexNameDateFormat. Can you provide new version with customization this property?If somebody know workaround - please, help me.
Thanks!
The text was updated successfully, but these errors were encountered: