Re: [python-win32] windows event log

2018-11-09 Thread Bob Gailer
> On Nov 9, 2018 9:04 AM, "the Right Direction" wrote: > > > > i have a custom event log called "BGT Monitoring" > > > > i want a handler to that so i can write to this eventlog from python > > hAppLog = win32evtlog.RegisterEventSource(None, "BGT Monitoring Log".encode("ascii")) > > > > result

Re: [python-win32] windows event log

2018-11-09 Thread Bob Gailer
On Nov 9, 2018 9:04 AM, "the Right Direction" wrote: > > i have a custom event log called "BGT Monitoring" > > i want a handler to that so i can write to this eventlog from python > hAppLog = win32evtlog.RegisterEventSource(None, "BGT Monitoring Log".encode("ascii")) > > result is: Objects of

[python-win32] windows event log

2018-11-09 Thread the Right Direction
i have a custom event log called "BGT Monitoring" i want a handler to that so i can write to this eventlog from python hAppLog = win32evtlog.RegisterEventSource(None, "BGT Monitoring Log".encode("ascii")) result is: Objects of type 'bytes' can not be converted to Unicode. what can i do?