You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Mariia Mykhailova (JIRA)" <ji...@apache.org> on 2015/11/17 22:57:10 UTC

[jira] [Resolved] (REEF-958) Suppress MesosRemoteManagerCodec log messages

     [ https://issues.apache.org/jira/browse/REEF-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mariia Mykhailova resolved REEF-958.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14

Resolved via [PR 646|https://github.com/apache/incubator-reef/pull/646]

> Suppress MesosRemoteManagerCodec log messages
> ---------------------------------------------
>
>                 Key: REEF-958
>                 URL: https://issues.apache.org/jira/browse/REEF-958
>             Project: REEF
>          Issue Type: Task
>          Components: REEF-Runtime-Mesos
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Trivial
>             Fix For: 0.14
>
>
> During Mesos tests, `MesosRemoteManagerCodec.encode/decode` functions produce too verbose messages as INFO level. This issue suppresses them to FINEST level.
> {code:title=MesosRemoteManagerCodec.java|borderStyle=solid}
> public byte[] encode(final EvaluatorControl evaluatorControl) {
>   try {
> -      LOG.log(Level.INFO, "Before Eecoding: {0}", evaluatorControl.toString());
> +      LOG.log(Level.FINEST, "Before Encoding: {0}", evaluatorControl.toString());
> ...
> -      LOG.log(Level.INFO, "After Encoding");
> +      LOG.log(Level.FINEST, "After Encoding");
> ...
> {code}
> {code:title=MesosRemoteManagerCodec.java|borderStyle=solid}
> public EvaluatorControl decode(final byte[] buf) {
>    try {
> -      LOG.log(Level.INFO, "Before Decoding: {0}", buf);
> +      LOG.log(Level.FINEST, "Before Decoding: {0}", buf);
> ...
> -      LOG.log(Level.INFO, "After Decoding");
> +      LOG.log(Level.FINEST, "After Decoding");
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)