EventLog is managed by the system. I don't think you can
set the size or anything like that.
If you want to limit the size of logging, implement
your own logging to a private text file.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Kimmo Laine" <reply.to@newsgroup> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hello,
is it possible, when creating new Event log (C#), to specify the log size
or
other related options.
if( !EventLog.SourceExists( sourceName ) ) {
EventLog.CreateEventSource( sourceName, logName );
}
m_Log = new EventLog();
m_Log.Source = sourceName;
// ...
tfx
Kimmo Laine