-
Notifications
You must be signed in to change notification settings - Fork 47
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
Update logback.xml template for 2.0.0-M1 and make it optional #353
base: master
Are you sure you want to change the base?
Conversation
Was this logback.xml just copied from the 2.0.0-M1 baseline? |
We should also update the |
Yes directly copied from the docker image. |
I made the changes, can you confirm them. I'm not sure. |
Looks good to me |
Do you think there's any risk in merging this for nifikop 1.x? |
I discussed with @erdrix yesterday about the suppression of the file. And he said that we shouldn't. The objective to have it in the operator like the others files was that the operator will provide its version of the configuration. That could be identitical to the one in NiFi but could be different (better) like for example in case where we could have some use of the NiFi logs in the Operator. And if the user wants the one from NiFi, it should override it. So we should make sure to keep them up to date. What do you think? |
Do you mean that we should keep the templates in nifikop? |
Maybe yes, but we have to see them as the optimal configuration from the point of view of the operator. |
Hmm, okay. I think as long as we keep compatibility well documented (which versions of nifikop are compatible w/ which versions of NiFi), this is okay. I only proposed this as a way to simplify what the operator has to care about. |
What's in this PR?
Update of the
logback.xml
template, to match the one in2.0.0-M1
.And made it optional (by default disabled).
Why?
NiFi added new appender and updated some of them.
And there is no reason to override the default
logback.xml
with our template when we don't change anything in it.I made a function to check if the template needs to be used, but right now it just return
false
because nothing seems to make use of the template.Checklist