Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53653

Logger is not assigned

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      trilead-ssh2-build-217-jenkins-14

      Description

      If you pass a logger as parameter, the following method would not assigned the value

      
      public synchronized void enableDebugging(boolean enable, DebugLogger logger)
      {
       Logger.enabled = enable;
      
       if (enable == false)
       {
       Logger.logger = null;
       }
       else
       {
       if (logger == null)
       {
       Logger.logger = new DebugLogger()
       {
      
       public void log(int level, String className, String message)
       {
       long now = System.currentTimeMillis();
       System.err.println(now + " : " + className + ": " + message);
       }
       };
       }
       }
      }
      
      

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              ifernandezcalvo Ivan Fernandez Calvo
              Reporter:
              ifernandezcalvo Ivan Fernandez Calvo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: