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
2007-09-052007-09-05 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* EventLog.cs, EventLogImpl.cs, LocalFileEventLog.cs, NullEventLog.cs, Win32EventLog.cs : added missing members, will be left unsupported in non-Win32 impl and left unimplemented in Win32. * CounterCreationDataCollection.cs : in 2.0 OnValidate() is overriden instad of OnInsert(). * Process.cs : removed StandardErrorEncoding and StandardOutputEncoding. They do not exist anymore. svn path=/trunk/mcs/; revision=85336
2007-08-022007-08-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* EventLogImpl.cs EventLog.cs LocalFileEventLog.cs : Implemented EntryWritten event support. * Win32EventLog.cs, NullEventLog.cs : they need stub overrides. * EventLogEntry.cs : [MonitoringDescription]. * DiagnosticsConfigurationHandler.cs : [Obsolete] svn path=/trunk/mcs/; revision=83277
2006-08-27* NullEventLog.cs: Added dummy GetLogNames implementation.Gert Driesen
* EventLogImpl.cs: Moved GetEventLogs implementation to base class. Added abstract GetLogNames method. Added ValidateCustomerLogName method which should be called by eventlog providers when creating a new log to ensure the significant part of the log name is unique, does not match any of the special log names and does not match an exist event source. * Win32EventLog.cs: Validate customer log name when creating new log. Moved GetEventLogs implementation to base class. Added GetLogNames method. * LocalFileEventLog.cs: Merged CreateLogStore into CreateEventSource. Validate customer log name when creating new log. Moved GetEventLogs implementation to base class. Added GetLogNames method. * EventLogTest.cs: Added tests for log name validation in CreateEventSource. svn path=/trunk/mcs/; revision=64429
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