[sheepdog-users] [Openstack]How to get debug logs in Openstack Cinder

harryxiyou harryxiyou at gmail.com
Thu Feb 21 18:54:18 CET 2013

Hi all,

I add some print logs for cinder/cinder/volume/drivers/sheepdog.py
like following.

 57     def create_volume(self, volume):
 58         """Creates a sheepdog volume"""
 59         LOG.debug(_('999 volume name is %s') % volume['name'])
 60         self._try_execute('qemu-img', 'create',
 61                           "sheepdog:%s" % volume['name'],
 62                           '%sG' % volume['size'])

However, i could not catch this, LOG.debug(_('999 volume name is %s')
% volume['name']),
logs by 'screen -r'. How could i get the logs? Maybe i should print
logs with other formats, right?
Has anyone add print logs for openstack? Please give me some
suggestions. Thanks a lot ;-)

Harry Wei

More information about the sheepdog-users mailing list