Displaying 3 results from an estimated 3 matches for "notifychangeeventlog".
2006 May 21
6
Possible problems with EventLog#write
Hi,
I''ve got EventLog#write and EventLog.add_event_source methods done.
Well, I *think* they''re done, but I can''t get the data (text) to work
properly, and I''m not sure if it''s a bug in my .mc file, the
add_event_source method, the write method, or just a goof in my test file.
The source, category and event id seem to be ok. However, the
2006 May 30
1
Syslogging and remote installer (was RE: seg on windows-pr-0.5.1 (was RE: win32-eventlog 0.4.0))
...9;ll have to switch to the wide
character version of ReadEventLog() I think. This might also explain
the duplicate records you showed me earlier (?).
Where are you located, btw? I forgot.
Also, regarding the EventLog#notify_change method, I just remembered
something. From the MSDN docs: The NotifyChangeEventLog function does
not work with remote handles.
> troubleshooting in win is terrible, i think i might as well go to the other route, that is, just let a linux syslog do the central processing. I really wanted to avoid the client installation, tsktsk.. anyway
>
> Dan, do you have a win32 uti...
2006 May 29
0
win32-eventlog 0.4.0
...> # Ok, fixed and released as 0.4.1. Thanks for the report!
>
> Hi Dan,
>
> the new change_notify does not exhibit the resource error anymore.
> BUT it skips (and does not log) some records.
>
> Tail is much better and does not skip.
>
> kind regards -botp
>
NotifyChangeEventLog() only checks every five seconds, max, iirc. If an
app logs more than one entry in that five second period it''s going to be
missed I''m afraid.
Hm....I suppose I could adapt change_notify to use the same approach
that I used for tail. I''ll think about it.
Thoughts a...