]> Git Repo - qemu.git/commit - tcg/tci/README
qemu-log: default to stderr for logging output
authorPeter Maydell <[email protected]>
Tue, 26 Feb 2013 17:52:40 +0000 (17:52 +0000)
committerAnthony Liguori <[email protected]>
Tue, 26 Feb 2013 19:31:47 +0000 (13:31 -0600)
commit989b697ddd46769b0999e8cd16b5ecd393204734
tree3775c51b27f9a21cd69ce36e948ee0b6eb5b943f
parentab4004495cb1cf38ab2e35f84ee54e669e2ad08a
qemu-log: default to stderr for logging output

Switch the default for qemu_log logging output from "/tmp/qemu.log"
to stderr. This is an incompatible change in some sense, but logging
is mostly used for debugging purposes so it shouldn't affect production
use. The previous behaviour can be obtained by adding "-D /tmp/qemu.log"
to the command line.

This change requires us to:
 * update all the documentation/help text (we take the opportunity
   to smooth out minor inconsistencies between the phrasing in
   linux-user/bsd-user/system help messages)
 * make linux-user and bsd-user defer to qemu-log for the default
   logging destination rather than overriding it themselves
 * ensure that all logfile closing is done via qemu_log_close()
   and that that function doesn't close stderr
as well as the obvious change to the behaviour of do_qemu_set_log()
when no logfile name has been specified.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Message-id: 1361901160[email protected]
Signed-off-by: Anthony Liguori <[email protected]>
bsd-user/main.c
hmp-commands.hx
include/qemu/log.h
linux-user/main.c
qemu-doc.texi
qemu-log.c
qemu-options.hx
tcg/tci/README
This page took 0.02809 seconds and 4 git commands to generate.