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

found unknown setting WARN messages #20946

Closed
ppf2 opened this issue Oct 14, 2016 · 6 comments
Closed

found unknown setting WARN messages #20946

ppf2 opened this issue Oct 14, 2016 · 6 comments
Assignees
Labels
:Core/Infra/Logging Log management and logging utilities

Comments

@ppf2
Copy link
Member

ppf2 commented Oct 14, 2016

5.0.0-rc1

Filing from a logging cleanup pt of view.

I get what we are saying here for this is being logged on 5.x against older Marvel indices.

But does this have to be logged at the WARN level? Seems like a normal migration routine that it goes through? Does the end user need to know this? If so, can we include the index name that it changed and maybe move these to the INFO level, etc.. :)

[2016-10-13T16:50:15,981][WARN ][o.e.c.s.IndexScopedSettings] [p9eEwZW] found unknown setting: index.marvel.index_format value: 6 - archiving
[2016-10-13T16:50:15,981][WARN ][o.e.c.s.IndexScopedSettings] [p9eEwZW] found unknown setting: index.marvel.plugin.version value: 2.4.0 - archiving
[2016-10-13T16:50:15,981][WARN ][o.e.c.s.IndexScopedSettings] [p9eEwZW] found unknown setting: index.marvel.template.version value: 1 - archiving
[2016-10-13T16:50:16,367][WARN ][o.e.c.s.IndexScopedSettings] [p9eEwZW] found unknown setting: index.marvel.index_format value: 6 - archiving
[2016-10-13T16:50:16,367][WARN ][o.e.c.s.IndexScopedSettings] [p9eEwZW] found unknown setting: index.marvel.plugin.version value: 2.4.0 - archiving
[2016-10-13T16:50:16,368][WARN ][o.e.c.s.IndexScopedSettings] [p9eEwZW] found unknown setting: index.marvel.template.version value: 1 - archiving
[2016-10-13T16:50:16,476][WARN ][o.e.c.s.IndexScopedSettings] [p9eEwZW] found unknown setting: index.marvel.index_format value: 6 - archiving
[2016-10-13T16:50:16,714][WARN ][o.e.c.s.IndexScopedSettings] [p9eEwZW] found unknown setting: index.marvel.index_format value: 6 - archiving
@ppf2 ppf2 added the :Core/Infra/Logging Log management and logging utilities label Oct 14, 2016
@jasontedor
Copy link
Member

But does this have to be logged at the WARN level? Seems like a normal migration routine that it goes through. Does the end user need to know this?

Yes, warn is the right level! We are ignoring settings a user thinks they have set, we absolutely should warn them.

@ppf2
Copy link
Member Author

ppf2 commented Oct 14, 2016

Sounds good, can we add the index name reference though ? :) So end users will not have to query the index settings api to figure out where these settings are originally set.

@jasontedor
Copy link
Member

Yes, of course. I was only commenting on the warn request. If I disagreed with both requests I would have closed the issue. 😇

@ppf2
Copy link
Member Author

ppf2 commented Oct 14, 2016

Cool, thx again!

@jasontedor
Copy link
Member

I have a fix for this. I'll open a PR soon.

@ppf2
Copy link
Member Author

ppf2 commented Oct 16, 2016

And thanks for this too! @jasontedor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Logging Log management and logging utilities
Projects
None yet
Development

No branches or pull requests

2 participants