Issue Details (XML | Word | Printable)

Key: LOG4NET-50
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nicko Cadell
Reporter: Nicko Cadell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4net

Process.StartTime hangs on some systems

Created: 30/Oct/05 02:31 AM   Updated: 30/Oct/05 03:38 AM
Return to search
Component/s: Core
Affects Version/s: 1.2.9
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

Resolution Date: 30/Oct/05 03:38 AM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #329455 Sat Oct 29 17:51:27 UTC 2005 nicko Fix for LOG4NET-50 Process.StartTime hangs on some systems
Changed to store the time the library is loaded rather than looking up the start time for the current process.
Files Changed
MODIFY /logging/log4net/trunk/src/Util/SystemInfo.cs