You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Julia (JIRA)" <ji...@apache.org> on 2017/11/11 02:48:00 UTC

[jira] [Commented] (REEF-1958) Setting JobRequestBuilder.SetJavaLogLevel() to Verbose has no effect on C# components

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

Julia commented on REEF-1958:
-----------------------------

C# driver log level is set as part of the driver configuration. For example:

            var helloDriverConfiguration = DriverConfiguration.ConfigurationModule
                .Set(DriverConfiguration.OnEvaluatorAllocated, GenericType<HelloDriver>.Class)
                .Set(DriverConfiguration.OnDriverStarted, GenericType<HelloDriver>.Class)
               * .Set(DriverConfiguration.CustomTraceLevel,  Level.Verbose.ToString())*
                .Build();

> Setting JobRequestBuilder.SetJavaLogLevel() to Verbose has no effect on C# components
> -------------------------------------------------------------------------------------
>
>                 Key: REEF-1958
>                 URL: https://issues.apache.org/jira/browse/REEF-1958
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF.NET
>            Reporter: Sergiy Matusevych
>            Assignee: Julia
>            Priority: Minor
>              Labels: logging
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Setting {{JobRequestBuilder.SetJavaLogLevel()}} with {{JavaLoggingSetting.Verbose}} correctly sets the logging level _on Java_ to {{Level.FINEST}}, but has no effect on C# components.
> To verify:
>     * set {{_jobRequestBuilder.SetJavaLogLevel(JavaLoggingSetting.Verbose)}} e.g. in HelloREEF;
>     * observe that no log messages with {{Level.Verbose}} are being printed in the C# Driver, e.g. {{HelloDriver.cs}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)