qemu-e2k/include/qemu
Peter Maydell 989b697ddd 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 <peter.maydell@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1361901160-28729-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-26 13:31:47 -06:00
..
acl.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
atomic.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
bitmap.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
bitops.h bitops: Remove routines redundant with host-utils 2013-02-16 11:12:52 +00:00
bswap.h bswap: Fix width of swap in leul_to_cpu 2013-02-06 08:29:21 -06:00
cache-utils.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
compatfd.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
compiler.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
config-file.h qemu-option: move standard option definitions out of qemu-config.c 2013-01-12 17:17:53 +01:00
envlist.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
error-report.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
event_notifier.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
hbitmap.h hbitmap: Use non-bitops ctzl 2013-02-16 11:11:34 +00:00
host-utils.h host-utils: Use __int128_t for mul[us]64 2013-02-17 14:28:57 +00:00
int128.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
iov.h iov: add iov_discard_front/back() to remove data 2013-01-02 15:58:05 +01:00
log.h qemu-log: default to stderr for logging output 2013-02-26 13:31:47 -06:00
main-loop.h iohandler: switch to GPollFD 2013-02-21 16:17:31 -06:00
module.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
notify.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
option.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
option_int.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
osdep.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
queue.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
range.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
ratelimit.h stream: fix ratelimit_set_speed 2012-11-30 11:33:24 +01:00
rng-random.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00
rng.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00
sockets.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
thread-posix.h Disable semaphores fallback code for OpenBSD 2012-12-28 16:11:52 +00:00
thread-win32.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
thread.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
timer.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
tls.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
typedefs.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
uri.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
xattr.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00