qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] qga: improve "syslog" domain logging
@ 2022-11-29 17:38 Andrey Drobyshev via
  2022-11-29 17:38 ` [PATCH v2 1/2] qga-win: add logging to Windows event log Andrey Drobyshev via
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Andrey Drobyshev via @ 2022-11-29 17:38 UTC (permalink / raw)
  To: qemu-devel; +Cc: andrey.drobyshev, den, yur, marcandre.lureau, mike.maslenkin

These patches extend QGA logging interface, primarily under Windows
guests.  They enable QGA to write to Windows event log, much like
syslog() on *nix.  In addition we get rid of hardcoded log level used by
ga_log().

v2:
* Close event_log handle when doing cleanup_agent()
* Fix switch cases indentation as reported by scripts/checkpatch.pl

Andrey Drobyshev (2):
  qga-win: add logging to Windows event log
  qga: map GLib log levels to system levels

 configure                 |  3 +++
 qga/installer/qemu-ga.wxs |  5 ++++
 qga/main.c                | 50 +++++++++++++++++++++++++++++++++++----
 qga/meson.build           | 19 ++++++++++++++-
 qga/messages-win32.mc     |  9 +++++++
 5 files changed, 81 insertions(+), 5 deletions(-)
 create mode 100644 qga/messages-win32.mc

-- 
2.38.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-01-26 17:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-29 17:38 [PATCH v2 0/2] qga: improve "syslog" domain logging Andrey Drobyshev via
2022-11-29 17:38 ` [PATCH v2 1/2] qga-win: add logging to Windows event log Andrey Drobyshev via
2022-11-30  7:00   ` Marc-André Lureau
2023-01-23 17:28   ` Stefan Weil via
2023-01-23 19:38     ` Andrey Drobyshev
2023-01-23 20:44       ` Denis V. Lunev
2023-01-23 20:52       ` Stefan Weil via
2023-01-26 17:50         ` Andrey Drobyshev
2022-11-29 17:38 ` [PATCH v2 2/2] qga: map GLib log levels to system levels Andrey Drobyshev via
2022-12-12 12:18 ` [PATCH v2 0/2] qga: improve "syslog" domain logging Andrey Drobyshev
2022-12-12 12:29   ` Konstantin Kostiuk
2022-12-16 10:01     ` Konstantin Kostiuk
2022-12-16 15:28       ` Andrey Drobyshev
2022-12-16 15:36         ` Konstantin Kostiuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).