[ 
https://issues.apache.org/jira/browse/TWILL-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582666#comment-14582666
 ] 

ASF GitHub Bot commented on TWILL-24:
-------------------------------------

GitHub user hsaputra opened a pull request:

    https://github.com/apache/incubator-twill/pull/39

    TWILL-24 Add log level settable for Twill applications

    This PR allow client to set log level for the Twill applications in the 
container level:
    -) The TwillPreparer now has new TwillPreparer#enableLogLevel method to 
pass log level that
    will be set on env variable in app master and pass to app containers.
    -) Added LogLevel abstraction that map to SLF4J log levels.
    -) Add unit test 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hsaputra/incubator-twill 
TWILL-24_enable_setting_loglevel_twill_apps

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-twill/pull/39.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #39
    
----
commit d9cd2c2eb78dfe155384d1b764de9263ea410066
Author: hsaputra <[email protected]>
Date:   2015-06-11T23:07:46Z

    TWILL-24 Add log level settable for Twill application.
    
    This PR allow client to set log level for the Twill applications in the 
container level.
    
    The TwillPreparer now has new TwillPreparer#enableLogLevel method to pass 
log level that
    will be set on env variable in app master and pass to app containers.
    
    Added LogLevel abstraction that map to SLF4J log levels.

----


> log level should be settable
> ----------------------------
>
>                 Key: TWILL-24
>                 URL: https://issues.apache.org/jira/browse/TWILL-24
>             Project: Apache Twill
>          Issue Type: Improvement
>          Components: api, core
>            Reporter: Albert Shau
>
> Currently the log level is fixed at info, so users have no way of looking at 
> their  log messages at lower levels.



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

Reply via email to