Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-4792

Stop using System.out/err.println and e.printStackTrace

XMLWordPrintable

    • JMC 7 Iter 9, JMC 7 Iter 10, JMC 8.1 Sprint 1, JMC 8.1 RDS 1, JMC 8.1 RDS 2, JMC 8.1 RDP2 1, JMC 8.1 RDP2 Final

        We have a number of places in our code where we use System.out.println, System.err.println, and Throwable.printStackTrace for logging. We should instead use the Eclipse logging mechanism or, where that is not available, java.util.logging.

        Note that there may be places where we explicitly want to write to stdout or stderr so keep some sense when going through the code.

              jpbempel Jean-Philippe Bempel
              owestin Ola Westin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: