[Spice-devel] log file for spice-gtk
Daniel P. Berrange
berrange at redhat.com
Thu Mar 15 03:23:28 PDT 2012
On Thu, Mar 15, 2012 at 11:14:15AM +0200, Yonit Halperin wrote:
> Hi,
>
> Are there any plans to have a log file for spice-gtk?
> I think that it is very important to have logging with configurable
> debug level via a configuration file. It will be helpful for live
> debugging of user problems that are hard to reproduce.
>
> I also saw there was some discussion about .spicec directory. It is
> used by the old client for logs and also for holding the certificate
> files. (In windows machine it is in %APPDATA%/spicec)
IMHO libraries have no business creating logfiles of their own
accord. It should be entirely in the control of applications
using the libraries to decide on logging policy.
For virt-viewer you can enable debugging of various areas with
flags --spice-gtk-debug, --gtk-vnc-debug and --debug. There are
also env variables which can control logging in newer GLib
versions
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the Spice-devel
mailing list