Create new log under Applications and Services Logs and write messages to it
Андрей Татарников <[email protected]> Fri, 19 Nov 2021 13:31:51 +0300
| Newsgroups | gmane.comp.python.windows |
|---|---|
| Message-ID | <CACAHMk5fm3JccGUu5AowEr117pZiwcewS4OEO=WwGo-Pb32v=g@mail.gmail.com> |
Hello all, It is possible to write messages to Windows Logs -> Application event log with pywin32, and actually it is pretty easy. But after living some time with such a solution it became clear that an ability to create a custom log under Applications and Services Logs and write to it will help a lot (e.g. such logs have simpler management than Application log). Unfortunately, I haven't found a lot of manuals/examples on how to achieve this using pywin32 with modern python (3.8+) on modern windows (10 on desktops, server 2019). If anyone could kindly point me to any proper APIs/examples/docs I will really appreciate it. Thanks, Andrey _______________________________________________ python-win32 mailing list [email protected] https://mail.python.org/mailman/listinfo/python-win32