Log4net
  1. Log4net
  2. LOG4NET-50

Process.StartTime hangs on some systems

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.2.10
    • Component/s: Core
    • Labels:
      None

      Description

      It has been reported that on some systems the call to System.Diagnostics.Process.GetCurrentProcess().StartTime hangs.
      This is used to obtain the ProcessStartTime used by the %r pattern.

      The System.Diagnostics.Process uses performance counters which may be disabled or corrupt. While this should throw an exception it appears that in some cases the call will hang.

        Activity

          People

          • Assignee:
            Nicko Cadell
            Reporter:
            Nicko Cadell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development