]> git.proxmox.com Git - mirror_qemu.git/commit
trace: add syslog tracing backend
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 4 Aug 2016 13:44:14 +0000 (14:44 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 5 Sep 2016 17:47:01 +0000 (13:47 -0400)
commit0a852417564bc59441dc09509beacf7b49bc1e57
treea27b04adbdaa3681d8797dab9097df2aca9464fd
parente87d397e5ef66276ccc49b829527d605ca07d0ad
trace: add syslog tracing backend

This patch adds a tracing backend which sends output using syslog().
The syslog backend is limited to POSIX compliant systems.

openlog() is called with facility set to LOG_DAEMON, with the LOG_PID
option. Trace events are logged at level LOG_INFO.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Message-id: 1470318254-29989-1-git-send-email-paul.durrant@citrix.com
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
configure
docs/tracing.txt
scripts/tracetool/backend/syslog.py [new file with mode: 0644]
trace/control.c