IGNITE-5798 - Logging Ignite configuration at startup

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

IGNITE-5798 - Logging Ignite configuration at startup

Ivan Fedotov
*Hello, Igniters!Now I’m working at ticket #5798[1] “Logging Ignite
configuration at startup” and have the following questions: 1. Should I get
fields and their values only from IgniteConfiguration or I should also get
them from inherited classes? If second variant is correct , what level of
inheritance should I use?2. Should I log fields with null values?3. Is
format [field] : [value.toString] appropriate? Or [field] :
[GridToStringBuilder.toString(value)] is better?4. About “I’ve found that
IgniteConfiguration is not logged even when -DIGNITE_QUIET=false”. Does it
mean that I should log IgniteConfiguration when log.isQuiet = false to the
file and terminal?[1] https://issues.apache.org/jira/browse/IGNITE-5798
<https://issues.apache.org/jira/browse/IGNITE-5798?filter=-1> *

--
Ivan Fedotov.

[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-5798 - Logging Ignite configuration at startup

Ivan Fedotov
Igniters,
sorry for the wrong format of the previous letter. Below is the letter in
the correct format.

Now I’m working at ticket #5798[1] “Logging Ignite configuration at
startup” and have the following questions:
1.Should I get fields and their values only from IgniteConfiguration or I
should also get them from inherited classes? If second variant is correct ,
what level of inheritance should I use?
2.Should I log fields with null values?
3.Is format [field] : [value.toString] appropriate? Or [field] :
[GridToStringBuilder.toString(value)] is better?
4.About “I’ve found that IgniteConfiguration is not logged even when
-DIGNITE_QUIET=false”. Does it mean that I should log IgniteConfiguration
when log.isQuiet = false to the file and terminal?

[1] https://issues.apache.org/jira/browse/IGNITE-5798


2017-09-22 17:23 GMT+03:00 Иван Федотов <[hidden email]>:

>
>
>
>
>
> *Hello, Igniters!Now I’m working at ticket #5798[1] “Logging Ignite
> configuration at startup” and have the following questions: 1. Should I get
> fields and their values only from IgniteConfiguration or I should also get
> them from inherited classes? If second variant is correct , what level of
> inheritance should I use?2. Should I log fields with null values?3. Is
> format [field] : [value.toString] appropriate? Or [field] :
> [GridToStringBuilder.toString(value)] is better?4. About “I’ve found that
> IgniteConfiguration is not logged even when -DIGNITE_QUIET=false”. Does it
> mean that I should log IgniteConfiguration when log.isQuiet = false to the
> file and terminal?[1] https://issues.apache.org/jira/browse/IGNITE-5798
> <https://issues.apache.org/jira/browse/IGNITE-5798?filter=-1> *
>
> --
> Ivan Fedotov.
>
> [hidden email]
>



--
Ivan Fedotov.

[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: IGNITE-5798 - Logging Ignite configuration at startup

yzhdanov
In reply to this post by Ivan Fedotov
I would just create another category for logging configuration, e.g.
ignite.config.log which by default should use our default file appender and
output configuration to that category with info priority. Let's begin with
IgniteConfiguration.toString();

--Yakov