Issue Details (XML | Word | Printable)

Key: LOG4NET-42
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

Serialised LoggingEvent does not preserve the Fix flags

Created: 23/Jul/05 04:42 AM   Updated: 23/Jul/05 04:44 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: 23/Jul/05 04:44 AM


 Description  « Hide
When a LoggingEvent is desterilised the data is restored but the FixFlags are not set. By default this is set to None. If the LoggingEvent object if then fixed (e.g. by a BufferingAppender) then the data in the event may be overwritten from the current environment.

When the LoggingEvent is desterilised the Fix property should be set to FixFlags.All.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #312302 Fri Jul 22 19:44:14 UTC 2005 nicko Fix LOG4NET-42: Serialised LoggingEvent does not preserve the Fix flags. Added new constructors to allow FixFlags to be passed in with the LoggingEventData
Files Changed
MODIFY /logging/log4net/trunk/src/Core/LoggingEvent.cs