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-users

[Xen-users] logging console output of DomU to a file

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] logging console output of DomU to a file
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 24 Mar 2011 10:28:00 +1100
Delivery-date: Wed, 23 Mar 2011 16:30:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvpsfMo8NsuXNsmSDutMC308KLyfg==
Thread-topic: logging console output of DomU to a file
Is there an easy way to log the console output of PV DomU's to a file? I
just had the unpleasant experience of an xfs filesystem getting
completely corrupt but 'xm console' just showed xfs errors rather than
anything that might indicate the root cause.

I want something that can take the DomU console output, log it to a file
eg /var/log/xen/pv-console-<name>.log and allow logrotate to send it
signals to close and reopen the logfiles so that they can be managed and
don't grow to ridiculous sizes.

Thanks

James

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] logging console output of DomU to a file, James Harper <=