+dev
Hi Folks ,

Regardless of the type, character devices can have an optional log file associated with them. 
Whether the lgging functionality is same as mapping device to file ?
Whether libvirt xml syntax below both 1 and 2 are same ?

    1)
    <serial type='pty'>
      <log file='/var/lib/nova/instances/7151c8b7-1ea5-4701-bb79-b482d9e253b8/console.log' append='off'/>
      <target port='0'/>
    </serial>

    2)
    <serial type='pty'>
      <source path='/tmp/serial.log'/>
      <target port='0'/>
    </serial>

    is it possible to multiplex the output from qemu's serial port  to a pty as well as a file (basically redirect console to file as well as pty device)?

Regards
Gokul