GitHub user yaojiefeng opened a pull request:
https://github.com/apache/twill/pull/12
TWILL-138 TWILL-195 Runtime log level change
JIRA: https://issues.apache.org/jira/browse/TWILL-138
https://issues.apache.org/jira/browse/TWILL-195
The first two commits are for TWILL-195, the rest are for TWILL-138.
Summary: Make API changes to TwillController and TwillPreparer to set the
log level for the twill application or specific twill runnables at runtime or
before the application starts. The TwillPreparer will serialize the log level
change requirements and deserialize them once service starts. The
TwillController will use messages to send out log level change request. Details
for implementation can be found in JIRAs.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yaojiefeng/twill feature/changeLogLevel
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/twill/pull/12.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 #12
commit 19a1971eaca72d1d576bd252be364c7be6aebcc4
Author: yaojiefeng
Date: 2016-09-22T21:35:04Z
add TwillRuntimeSpecification
commit d64abe694cda37860b6fd5ff6e4641bface3cf42
Author: yaojiefeng
Date: 2016-09-23T01:04:42Z
remove some env keys
commit e72746cac4981c0a40edef60dedb542c8d279190
Author: yaojiefeng
Date: 2016-09-23T07:53:50Z
Log level API change for TwillController
commit 7d497b8c63689128e985343c37c21b766b7d85db
Author: yaojiefeng
Date: 2016-09-24T00:02:06Z
Log level API change for TwillPreparer
commit 3b89cba28182414c788f8fe1ede2761c2ee4778b
Author: yaojiefeng
Date: 2016-09-25T08:47:15Z
Remove unused imports, add javadoc, and nit
commit 2c005ec7b7cd14b620753e9c62374c05673dab41
Author: yaojiefeng
Date: 2016-09-25T09:25:26Z
update the unit test
---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---