swiftclient 打开debug模式

1. 修改文件/etc/openstack-dashboard/local_settings中

file section为:

'file': {
         'level': 'DEBUG',
         'class': 'logging.FileHandler',

         'filename': '/var/log/horizon/horizon.log',
         'formatter': 'normal'

},

swiftclient section为:

'swiftclient': {
                 'handlers': ['file'],
                 'level': 'DEBUG',
                 'propagate': False,
}


2. 重启httpd服务


3. tailf /var/log/horizon/horizon.log

猜你喜欢

转载自blog.csdn.net/dengxiafubi/article/details/78776244
今日推荐