You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Oliver B. Fischer (JIRA)" <ji...@apache.org> on 2016/06/24 22:38:16 UTC

[jira] [Created] (TAMAYA-164) Make the outout of the Tamaya banner configurable

Oliver B. Fischer created TAMAYA-164:
----------------------------------------

             Summary: Make the outout of the Tamaya banner configurable
                 Key: TAMAYA-164
                 URL: https://issues.apache.org/jira/browse/TAMAYA-164
             Project: Tamaya
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.2-incubating
            Reporter: Oliver B. Fischer
            Assignee: Oliver B. Fischer
             Fix For: 0.3-incubating


Each time Tamays starts it outputs its banner ({{code/api/src/main/resources/tamaya-banner.txt}}) to STDOUT.

I see there two problem: First is that I think a library never should output any data to STDOUT. The second problem I see is that it could be/is annoying for users of a software that uses Tamaya to have the banner printed to STDOUT.

There fore I would like sugggest the following solution:
- Outputting the banner should be configurable. A user should be able to suppress the banner by adding the propery {{org.apache.tamaya.config.show-banner = false}} to one of the used configuration resources.
- The user should be able to decide if the banner will be written to STDOUT or JUL will be used to output the banner. Therefore I would suggest to use the property {{org.apache.tamaya.config.banner-output = STDOUT|JUL}}.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Re: [jira] [Created] (TAMAYA-164) Make the outout of the Tamaya banner configurable

Posted by "Oliver B. Fischer" <o....@swe-blog.net>.
I don't argue for any variant. But maybe it out be better to use only 
lowercase words, separated by dots.


Am 28.06.16 um 23:17 schrieb P. Ottlinger:
> Hi,
>
> Am 25.06.2016 um 00:38 schrieb Oliver B. Fischer (JIRA):
>> There fore I would like sugggest the following solution:
>> - Outputting the banner should be configurable. A user should be able to suppress the banner by adding the propery {{org.apache.tamaya.config.show-banner = false}} to one of the used configuration resources.
>> - The user should be able to decide if the banner will be written to STDOUT or JUL will be used to output the banner. Therefore I would suggest to use the property {{org.apache.tamaya.config.banner-output = STDOUT|JUL}}.
> I'm not sure about any conventions but would prefer keys like
>
> org.tamaya.config.show.banner
> org.tamaya.config.banner.output
>
> instead of the hyphenated variants.
>
> Any opinions on that?
>
> Is there a problem with camelCasing?
> org.tamaya.config.showBanner
> org.tamaya.config.bannerOutput
>
> Cheers,
> Phil

-- 
N Oliver B. Fischer
A Sch�nhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fischer@swe-blog.net
S oliver.b.fischer
J oliver.b.fischer@jabber.org
X http://xing.to/obf


Re: [jira] [Created] (TAMAYA-164) Make the outout of the Tamaya banner configurable

Posted by "Oliver B. Fischer" <o....@swe-blog.net>.
Hi Phil,

I will stay with "tamaya.banner" since we have already key which start 
with "tamaya".


Viele Gr��e

Oliver



Am 28.06.16 um 23:17 schrieb P. Ottlinger:
> Hi,
>
> Am 25.06.2016 um 00:38 schrieb Oliver B. Fischer (JIRA):
>> There fore I would like sugggest the following solution:
>> - Outputting the banner should be configurable. A user should be able to suppress the banner by adding the propery {{org.apache.tamaya.config.show-banner = false}} to one of the used configuration resources.
>> - The user should be able to decide if the banner will be written to STDOUT or JUL will be used to output the banner. Therefore I would suggest to use the property {{org.apache.tamaya.config.banner-output = STDOUT|JUL}}.
> I'm not sure about any conventions but would prefer keys like
>
> org.tamaya.config.show.banner
> org.tamaya.config.banner.output
>
> instead of the hyphenated variants.
>
> Any opinions on that?
>
> Is there a problem with camelCasing?
> org.tamaya.config.showBanner
> org.tamaya.config.bannerOutput
>
> Cheers,
> Phil

-- 
N Oliver B. Fischer
A Sch�nhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fischer@swe-blog.net
S oliver.b.fischer
J oliver.b.fischer@jabber.org
X http://xing.to/obf


Re: [jira] [Created] (TAMAYA-164) Make the outout of the Tamaya banner configurable

Posted by "P. Ottlinger" <po...@apache.org>.
Hi,

Am 25.06.2016 um 00:38 schrieb Oliver B. Fischer (JIRA):
> There fore I would like sugggest the following solution:
> - Outputting the banner should be configurable. A user should be able to suppress the banner by adding the propery {{org.apache.tamaya.config.show-banner = false}} to one of the used configuration resources.
> - The user should be able to decide if the banner will be written to STDOUT or JUL will be used to output the banner. Therefore I would suggest to use the property {{org.apache.tamaya.config.banner-output = STDOUT|JUL}}.

I'm not sure about any conventions but would prefer keys like

org.tamaya.config.show.banner
org.tamaya.config.banner.output

instead of the hyphenated variants.

Any opinions on that?

Is there a problem with camelCasing?
org.tamaya.config.showBanner
org.tamaya.config.bannerOutput

Cheers,
Phil