[Spice-devel] log file for spice-gtk

Alon Levy alevy at redhat.com
Thu Mar 15 06:14:02 PDT 2012


On Thu, Mar 15, 2012 at 01:59:41PM +0100, Marc-André Lureau wrote:
> On Thu, Mar 15, 2012 at 1:55 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > Once again, I'm not saying logging will help fixing a real bug. However,
> > for bugs we can't reproduce, you often see "I can't reproduce, can you
> > attach spicec.log? Oh, I see XXX in the logs, did you do YYYY before the
> > bug occurred?", and then you get a reproducer, or you can explain the
> > reporter what he did wrong.
> 
> It seems we agree that logging is useful, and that logging to file by

Yes..

> default is harmful (and mostly useless), given that warning/critical
> are logged by the system. (which makes sense, since they shouldn't
> happen)

But No, logging to syslog works fine for linux, but even there a lot of
programs produce their own log files. You can put the log file on a
tmpfs (i.e.  /tmp, or /var/tmp, or the new /run/something) to solve the
problem of choking the filesystem.

> 
> -- 
> Marc-André Lureau
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list