<div dir="ltr">I am a user of nova, I found that the console log nova output can just refresh manually.<div style>I think if i can see dynamic output, I will happy with that.</div><div style>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 style>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 style><br></div><div style>I have two choice now, one is to tail console.log in every compute node, every instance will open a port.</div>
<div style>Another is to do something with pty.</div><div style><br></div><div style>I am confused and in trouble,  I would be grateful if anyone could help me about that.<br></div></div>