[python-win32] Question: Who killed a windows service

Hans Rakotomanga blucountry at yahoo.com
Wed Jul 24 11:29:26 CEST 2013


As far as I can see, event log only lists the source as Service Control Manager, no user info.
Oh well, I'll just have to have it message me when it stops so I can restart it :)

I've seen solutions where you need to install debug tools etc. But can't install those on a shared computer.

Thanks anyhow guys.



________________________________
 From: Mark Hammond <skippy.hammond at gmail.com>
To: Hans Rakotomanga <blucountry at yahoo.com>; "python-win32 at python.org" <python-win32 at python.org> 
Sent: Wednesday, July 24, 2013 5:57 AM
Subject: Re: [python-win32] Question: Who killed a windows service
 

The Windows "system" event log should have this information.

Mark

On 23/07/2013 8:21 PM, Hans Rakotomanga wrote:
> Hi,
>
> I have a pywin32 service running on a shared computer. Now and then it
> gets killed by another user, for good reason mostly, but I would like to
> ask the person who does this why he/she/it did it.
> Soooo, is there a way to extract this information and have the service
> write it in its logs ? :)
>
> I was hoping the stop event would have it.
>
> -- Thanks for your help
>
>
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20130724/3931f259/attachment.html>


More information about the python-win32 mailing list