On Fri, Jun 01, 2012 at 01:49:26AM +0100, Peter Maydell wrote:
> On 31 May 2012 20:37, Richard Henderson <r...@twiddle.net> wrote:
> >  void gemu_log(const char *fmt, ...)
> >  {
> >     va_list ap;
> >
> >     va_start(ap, fmt);
> > -    vfprintf(stderr, fmt, ap);
> > +    vfprintf(strace_log_file, fmt, ap);
> >     va_end(ap);
> >  }
 
> gemu_log() is used for more than just strace output... are
> we happy for the various other random error messages to go
> to the "strace log" file too?

Perhaps it would make more sense to introduce a "-d strace" loglevel
and use the standard qemu_log feature? Then the output file would be
set with the -D option.

Riku

Reply via email to