swiftclient 打开debug模式

来源:互联网 发布:手机相片加密软件 编辑:程序博客网 时间:2024/06/09 22:02

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

原创粉丝点击