Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87238388 --- Diff: twill-api/src/main/java/org/apache/twill/internal/DefaultTwillRunResources.java --- @@ -30,17 +35,25 @@ private final int memoryMB; private final String host; private final Integer debugPort; - private final Level logLevel; + private final Map<String, LogEntry.Level> logLevels; + + /** + * Constructor to create an instance of {@link DefaultTwillRunResources} with empty log levels. + */ + public DefaultTwillRunResources(int instanceId, String containerId, int cores, int memoryMB, + String host, Integer debugPort) { + this(instanceId, containerId, cores, memoryMB, host, debugPort, new HashMap<String, Level>()); --- End diff -- Use `Collections.<String, Level>emptyMap()` instead.
--- 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. ---