Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-08-20* System.dll.sources: Added Win32EventLog.cs.Gert Driesen
* EventLogEntry.cs: Added InstanceId property (2.0 only). Moved Obsolete attribute to correct property. * EventSourceCreationData.cs: Updated copyright. For internal ctor, set log name to "Application" if value is null or zero-length string. * EventLogImpl.cs: EventImpl now acts as base class for event log implemenations. * NullEventLog.cs: Modified to implement new abstract methods of base class. Removed factory class. * EventLog.cs: EventLog implementation that delegates just about everything to individual eventlog providers. To specify the event log implementation to use, the MONO_EVENTLOG_TYPE environment variable can be used. Possible values are: - win32 : read/write entries using the native win32 eventlog - local[:path] : read/write entries as files to a local directory - null : silently ignore all entries The default is "null" on unix (and versions of Windows before NT, meaning Windows 98, ...), and "win32" on Windows NT (and higher). When "the local" implementation is used, the directory in which to store the event logs, event sources and entries can be specified as part of MONO_EVENTLOG_TYPE environment variable using the syntax "local:<path>" (eg. local:/home/myuser/mono/eventlog). * LocalFileEventLog.cs: Event log implementation which uses a local file store. The directory to use for persistence can be specified as part of the MONO_EVENTLOG_TYPE environment variable (see above). If that directory is not explicitly set, then the following directory will be used for storing eventlog entries: - windows : %APPDATA%\mono\eventlog - unix : /var/lib/mono/eventlog On unix, the directory permission for individual eventlog log directories will be set to 777 (with +t bit) allowing everyone to read and write eventlog entries while only allowing entries to be deleted by the user(s) that created them. Format of log files was modified to allow it contain all necessary information for an event log entry. * Win32EventLog.cs: Event log implementation for Windows NT and higher which uses the Win32 native event log for reading/writing eventlog entries, and which uses the registry to store event log and event source registration information. * EventLogEntryCollection.cs: Delegate implementation to event log implementation. Use lazy init for enumerating entries. Cache current item in 2.0 profile. * EventLogTest.cs: Enable tests. On 2.0 profile, set MONO_EVENTLOG_TYPE environment variable to force local file implementation to be used for unit tests. This avoids permission issues for the unit tests, and allows us to clean up the files/directory that are created during the test run. Skip tests that cannot pass when the null implementation is active (on 1.0 profile). Added tests for all WriteEntry and WriteEvent (2.0 only) overloads, Clear, Entries, Exists and LogNameFromSourceName. svn path=/trunk/mcs/; revision=64088
2006-08-142006-08-14 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* System.dll.sources : added LocalFileEventLog.cs and NullEventLog.cs. * EventLogImpl.cs, EventLogEntryCollection.cs, EventLog.cs : some rework to support actual event log implementations. * NullEventLog.cs, LocalFileEventLog.cs : new files. The former (default) implementation does nothing for any event log features. The latter implements local file based event logs. svn path=/trunk/mcs/; revision=63705
2006-08-142006-08-14 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* UnixEventLog.cs, EventLogEntry.cs, EventSourceCreationData.cs, EventLogImpl.cs, Win32EventLog.cs, EventLogEntryCollection.cs, EventLog.cs: Reverted previous two changes that does not work at all. * System.dll.sources : reverted all recent changes on EventLogs. It does not work at all. svn path=/trunk/mcs/; revision=63704
2006-08-11* EventLogTest.cs: new test, currently not enabled due to UnixRegistryGert Driesen
bug which still needs to be tracked, and which would cause temporary registry entries to be left behind by running tests. * EventLogEntry.cs: Added InstanceId property (2.0 only). Moved Obsolete attribute to correct property. * EventSourceCreationData.cs: Updated copyright. For internal ctor, set log name to "Application" if value is null or zero-length string. * EventLogImpl.cs: EventImpl now acts as base class for event log implemenations. Added NullEventLog implementation, which is not used at the moment. * EventLog.cs: EventLog implementation that uses registry for keeping track of logs and sources to match .NET (and Windows). When running on Windows NT (and higher), event entries are written to the native win32 event log. Reading event entries is not yet working for Windows. On linux, we use a local file store (based on patch by Atsushi). * UnixEventLog.cs: Event log implementation for linux which uses a local file store. * Win32EventLog.cs: Event log implementation for Windows NT and higher which uses the Win32 native event log. * EventLogEntryCollection.cs: Delegate implementation to event log implemenation. Use lazy init for enumerating entries. * System.dll.sources: Added UnixEventLog.cs and Win32EventLog.cs. * System_test.dll.sources: Added EventLogTest.cs. svn path=/trunk/mcs/; revision=63633
2004-06-21Add MIT license to System.dllDuncan Mak
svn path=/trunk/mcs/; revision=30054
2002-06-09 * EntryWrittenEventArgs.cs: ImplementedJonathan Pryor
* EntryWrittenEventHandler.cs: Implemented * EventLog.cs: Stubbed out * EventLogEntry.cs: Stubbed out * EventLogEntryCOllection.cs: Implemented. * EventLogEntryType.cs: Implemented * EventLogInstaller.cs: Stubbed out * EventLogPermission.cs: Stubbed out * EventLogPermissionAccess.cs: Implemented * EventLogPermissionAttribute.cs: Stubbed out * EventLogPermissionEntry.cs: Stubbed out * EventLogPermissionEntryCollection.cs: Stubbed out * EventLogTraceListener.cs: Stubbed out svn path=/trunk/mcs/; revision=5191