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

ThreadID layout does not match debugger

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Layout
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              dbertrand David Bertrand

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment