<div dir="ltr">I may be thinking totally wrong but I think that if you want to do a small hack which calls the same method/api (every x seconds) which is called to display the console log message on horizon dash. But I cant say this will work or even if this does, whether it is a good hack or not.<br>

</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Regards,<br>Pranav<br></div></div>
<br><br><div class="gmail_quote">On Sun, Apr 7, 2013 at 4:15 PM, Jiang Jim <span dir="ltr"><<a href="mailto:jiangwt100@gmail.com" target="_blank">jiangwt100@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">I am a user of nova, I found that the console log nova output can just refresh manually.<div>I think if i can see dynamic output, I will happy with that.</div><div>I found pty and file type in virt/libvirt/driver.py, file can just output logs static, but I don't know how to use pty to output console dynamically.</div>


<div>I implement  a websocket server in the front just like the same novnc does. And I code a module in nova.contrib to get host and path of console.log by nova-api.</div><div><br></div><div>I have two choice now, one is to tail console.log in every compute node, every instance will open a port.</div>


<div>Another is to do something with pty.</div><div><br></div><div>I am confused and in trouble,  I would be grateful if anyone could help me about that.<br></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>