|
Hi all ! I’m still working on eventlog. I want to get events from a remote machine (it’s a server). It seems that the handle on the eventlog is well created by doing :
$handle=Win32::EventLog->new($eventLog, $host) ������� or die "Can't open $eventLog EventLog on $host\n";
but when I try to get the number of events and the the oldest record with :
$handle->GetNumber($recs) ������� or die "Can't get number of EventLog records on $host\n"; ����������� $handle->GetOldest($base) ������� or die "Can't get number of oldest EventLog record on $host\n";
it doesn’t work and the script dies. Worse than that, if I can’t get this info, I can’t list all the events to read them with the read() function . Did I miss something ?? Thanks… ---------------------------------- Jean-Christophe PINEAU Ing�nieur r�seaux
|
- Win32::EventLog Glenn Meyer
- Win32::EventLog Glenn Meyer
- RE: Win32::EventLog Douglas . Hornyak
- RE: Win32::EventLog Leeds, J \(Xerox Connect\)
- Win32::EventLog John Deretich
- RE: Win32::EventLog Scott Campbell
- Win32::EventLog Ewen Marshall
- Re: Win32::EventLog Ewen Marshall
- Win32::EventLog pineau
- Win32::EventLog pineau
- Re: Win32::EventLog $Bill Luebkert
- win32::eventlog pineau
- RE: win32::eventlog Dutrieux Yves
