WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] PATCH: Use name instead of pid in QEMU logs

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] PATCH: Use name instead of pid in QEMU logs
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 1 Jun 2007 10:39:45 +0200
Delivery-date: Fri, 01 Jun 2007 01:55:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070601005530.GH15661@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acej56GbfzXYYlBVRIeDAwKrDG21EQAQKSsg
Thread-topic: [Xen-devel] PATCH: Use name instead of pid in QEMU logs
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Daniel P. Berrange
> Sent: 01 June 2007 01:56
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] PATCH: Use name instead of pid in QEMU logs
> 
> The attached patch changes the logfile name generated by 
> qemu-dm to use the
> pattern  qemu-dm-[NAME].log instead of qemu-dm-[PID].log. 
> This makes it
> easier for the adminsitrator to figure out which log 
> corresponds to which
> guest (particularly after a crash where you no long know what PID the
> qemu-dm process for your guest had). It also prevents the 
> number of log
> files from growing unbounded.

Great stuff. I'll buy you a beer (or alternative beverage of your
choice) next time we're in the same place... 

--
Mats
> 
>    Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> 
> Dan.
> -- 
> |=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 
> 978 392 2496 -=|
> |=-           Perl modules: http://search.cpan.org/~danberr/  
>             -=|
> |=-               Projects: http://freshmeat.net/~danielpb/   
>             -=|
> |=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF 
> F742 7D3B 9505  -=| 
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>