Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5954

Option to show error levels in debug log

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.3
    • None
    • debugger - Java
    • None
    • Env: Windows 10, NB 12.3, Java 15.

    Description

      When I debug a Java application messages with "[WARNING]" are in light yellow and not really visible (at least by default). I can change the color, but the "[WARNING]" text is removed (same as for other levels).

      So it would be nice to have an option to show error level texts in debug output. So basically just disable removal and let me decide if I want colors in the output or not, but still be able to distinguish error from warning.

      BTW. Log4j loggers might show "[WARN]", not "[WARNING]". So this is also kind of confusing to have one prefixed with level and not the other.

      PS: A workaround is to setup log4j ConversionPattern to have a space e.g. "[%p ]" or "[%-8p]". NB dosen't recognise levels then... But that's hacky.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eccenux Maciej Jaros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: