Kevin Vance - >>> win32evtlogutil.ReportEvent("test name",…

Entries | Archive | Friends | Friends' Friends | User Info

09:23 pm

Monday, November 21st, 2005
Previous Entry Share Next Entry
>>> win32evtlogutil.ReportEvent("test name", servicemanager.PYS_SERVICE_STARTED, 0, servicemanager.EVENTLOG_INFORMATION_TYPE, ("test name 2", ''))
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "c:\python24\lib\site-packages\win32\lib\", line 80, in ReportEvent data)
pywintypes.error: (1502, 'ReportEvent', 'The event log file is full.')

And just think, if I hadn't been screwing around with win32 programming, I never would have realized that my event log filled up. Or that it could be filled up. My newest log entry was from January 2005, even though the default policy was to remove entries older than 7 days to make room.

I wonder how many windows problems occur because of this...
Link )Reply )