Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-221

ThreadID layout does not match debugger

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • Layout
    • None
    • Windows XP SP2.

    Description

      ThreadID gets displayed in hexadecimal. However, Visual Studio debugger displays them in decimal, making it harder to match up.
      Simple modification of file src\main\cpp\loggingevent.cpp at line 200 fixes this:

      Before: apr_snprintf(result, sizeof(result), "0x%.8x", threadId);
      After: apr_snprintf(result, sizeof(result), "%.5d", threadId);

      Attachments

        Activity

          People

            carnold@apache.org Curt Arnold
            dbertrand David Bertrand
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: