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.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---