[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] directing xm dmesg to syslog

Hi all,

I made the logging daemon of the Xen message.
This daemon outputs the messege to syslog if messages were found
in the console ring by the polling every one second.

Following is the usage, but usually no option is necessary.
It will automatically be daemon.

usage: xenlogd [-h] [-k] [-r]
       -h: print help
       -k: kill alive logging daemon
       -r: restart logging daemon after kill alive one

Signed-off-by: Katsuhito Minai <minai@xxxxxxxxxxxxxx>

Best regards,
Katsuhito Minai

On Tue, 23 May 2006 16:31:44 +0100
Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> > short questin: I want to direct the oputput of xm dmesg in (near) realtime
> > to syslog.
> >
> > Is this possible?
> dom0 Linux doesn't (currently) get any notifications that the xm dmesg output 
> has changed.
> You could write a daemon to poll xm dmesg and send changes to syslog...  You 
> might like to consider having it clear the dmesg also, since it uses a 
> fixed-size buffer and won't work once that is full.
> Cheers,
> Mark
> -- 
> Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
> Mark: To answer a question with a question: What use is a skateboard?
> Dave: Skateboards have wheels.
> Mark: My wheel has a wheel!
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Attachment: xenlogd.patch
Description: Binary data

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.