Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-958

Suppress MesosRemoteManagerCodec log messages

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.14
    • REEF-Runtime-Mesos
    • None

    Description

      During Mesos tests, `MesosRemoteManagerCodec.encode/decode` functions produce too verbose messages as INFO level. This issue suppresses them to FINEST level.

      MesosRemoteManagerCodec.java
      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");
      ...
      
      MesosRemoteManagerCodec.java
      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");
      ...
      

      Attachments

        Issue Links

          Activity

            People

              dongjoon Dongjoon Hyun
              dongjoon Dongjoon Hyun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: