]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: use new method for easier log to file
authorEric Blake <eblake@redhat.com>
Sat, 30 Apr 2011 17:05:43 +0000 (11:05 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 5 May 2011 19:48:19 +0000 (13:48 -0600)
commitf99e1389ccce65a82b6df0e84eb3f89124def0db
treedde2db46898398986b6cd39d2d66af96728307e5
parentf09acccfd7c39eb81d4ef26edc90396db0c6681d
virsh: use new method for easier log to file

Easier to maintain, and no longer an arbitrary line length limit.

* tools/virsh.c (vshOutputLogFile): Replace snprintf with
virBuffer.
tools/virsh.c