[Win32utils-devel] Can't write to "Windows PowerShell" source with win32-eventlog

Heesob Park phasis at gmail.com
Fri Nov 30 01:03:58 EST 2007


2007/11/29, Daniel Berger <djberg96 at gmail.com>:
> Heesob Park wrote:
> <snip>
> > I guess Custom Log event must have log file name.
> Is that documented somewhere? I didn't see it. Just curious.
> > After inserting following code at add_event_source methods, it works
> fine.
> Odd, I still couldn't make it work. The first thing I noticed is that
> the .evt file names don't necessarily match the source name. I see
> "Internet.evt", not "Internet Explorer.evt", for example. The
> WindowsPowerShell.evt file has no space in it on my system.
> But, even after I changed the key value I still couldn't write to the
> Windows PowerShell event log. Hmm.

Event file name does not matter. I attached the modified eventlog.rb

I'm on vacation this weekend so I'll have to take a look at it next
> week. In the meantime botp sent me an eventlog he says is suffering from
> missing description issues, but only on Win2k3. Attached if anyone wants
> to take a look.

The attached eventlog has no problem on WinXP and Win2k3 in my test.

> dan


Park Heesob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/win32utils-devel/attachments/20071130/4c617d97/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eventlog.rb
Type: application/octet-stream
Size: 28171 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/win32utils-devel/attachments/20071130/4c617d97/attachment-0001.obj 

More information about the win32utils-devel mailing list