From: Keir Fraser Subject: Re: PATCH: Use name instead of pid in QEMU logs Date: Tue, 12 Jun 2007 17:04:58 +0100 Message-ID: References: <20070612145927.GI3031@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070612145927.GI3031@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 12/6/07 15:59, "Daniel P. Berrange" wrote: > All domain names should be validated by XenD to contain printable characters > only - they are displayed & used all over the place in numerous tools where > having non-printale characters will cause plenty of trouble. > > As for overwriting the log file with a domain autorestart after a crash, the > logfile ought to be opened in append mode (w+ instead of w) - logrotate > scripts can handle cleanup of logfiles > > I am happy to submit further patches to validate domain names in XenD and > switch to opening the file in append mode, if changeset 15219 were to be > reverted. Personally I don't much care either way. Christian didn't like the names in log filenames, and he maintains the qemu patchset. :-) -- Keir