[
https://issues.apache.org/jira/browse/TWILL-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584006#comment-14584006
]
ASF GitHub Bot commented on TWILL-24:
-------------------------------------
Github user anew commented on a diff in the pull request:
https://github.com/apache/incubator-twill/pull/39#discussion_r32351171
--- Diff: twill-api/src/main/java/org/apache/twill/api/TwillPreparer.java
---
@@ -186,6 +187,15 @@
TwillPreparer addSecureStore(SecureStore secureStore);
/**
+ * Enable log level for Twill applications running in a container.
+ *
+ * @param logLevel the {@link LogEntry.Level} that should be enabled.
+ * The level match the {@code Logback} levels.
+ * @return This {@link TwillPreparer}.
+ */
+ TwillPreparer enableLogLevel(LogEntry.Level logLevel);
--- End diff --
looking at other methods in this interface, I think it would make more
sense to call this withLogLevel()
> 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)