Dimitris Aragiorgis 96c33a4523 log: Redirect stderr to logfile if deamonized
In case of daemonize, use the logfile passed with the -D option in
order to redirect stderr to it instead of /dev/null.

Also remove some unused code in log.h.

Signed-off-by: Dimitris Aragiorgis <dimara@arrikto.com>
Message-Id: <1455795518-19205-1-git-send-email-dimara@arrikto.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-02-22 18:40:29 +01:00
..
2015-12-18 16:25:08 +00:00
2015-06-05 17:10:00 +02:00
2015-06-05 17:10:00 +02:00
2015-04-30 16:05:48 +03:00
2016-02-16 12:07:03 +00:00
2014-10-09 15:36:15 +02:00
2015-09-15 07:45:33 -07:00
2014-05-30 13:00:28 -06:00
2015-09-07 18:14:03 +02:00
2014-02-20 13:14:18 +01:00
2015-09-25 12:04:45 +02:00
2015-10-16 15:34:30 +02:00
2014-06-19 18:44:19 +03:00
2015-02-16 17:30:19 +01:00
2015-12-17 17:33:49 +01:00
2014-02-01 13:46:06 +04:00
2014-03-13 14:42:21 +01:00
2013-10-17 17:30:55 +02:00
2015-02-02 16:55:10 +01:00