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

Logger is not assigned

    XMLWordPrintable

Details

    • 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

          ifernandezcalvo Ivan Fernandez Calvo created issue -
          ifernandezcalvo Ivan Fernandez Calvo made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          ifernandezcalvo Ivan Fernandez Calvo made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          bmarcelin Benoît Marcelin made changes -
          Attachment jenkins-plugins.txt [ 44525 ]
          Attachment jenkins-sys-prop.txt [ 44526 ]
          bmarcelin Benoît Marcelin made changes -
          Attachment jenkins-plugins.txt [ 44525 ]
          bmarcelin Benoît Marcelin made changes -
          Attachment jenkins-sys-prop.txt [ 44526 ]
          bmarcelin Benoît Marcelin made changes -
          Comment [ Sorry, a refresh bug make me mistake this issue with one of mines and I deleted attachments.

           

          I really deeply apology. ]
          ifernandezcalvo Ivan Fernandez Calvo made changes -
          Released As trilead-ssh2-build-217-jenkins-14
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: