I'm trying to retrieve the full text of an eventlog message, i.e. the text that you see if you use eventvwr and double-click an entry.
If I use GetMessageText and print the Message field I retrieve the full messages for certain sources (eg. DnsApi, NETLOGON, BROWSER), and nothing for other sources (eg. w32time, WMI, b57w2k (broadcom nic driver)
Win32::EventLog::GetMessageText($hashRef); print "Entry $x: $hashRef->{Message}\n";
Example: w32time
From an eventvwr dump to text: "The Windows Time Service was not able to find a Domain Controller. A time and date update was not possible. " From GetMessageText and {Message}: Nothing
Does anyone have any idea why I can retrieve the message for certain sources and not others?
Any help would be gratefully appreciated.
Thanks,
Greg
In reply to Win32::EventLog *complete* message retrieval by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |