4. /var/log/swift라는 서브 디렉터리가 생성됩니다. swift 디렉터리로 이동하면 proxyserver.log 파일이 있습니다. tail -f 명령어로 proxyserver.log 파일의 내용을 확인할 수 있습니다. 여기서는 account-server에서 인증 오류가 발생했다는 사실을 로그로 알 수 있습니다.
root@controller:~# cd /var/log/swift root@compute:/var/log/swift# tail -f proxyserver.log Jul 9 17:23:39 controller account-server: - - 09/Jul/2016/08/23/39 HEAD / v1/AUTH5951307446914a7981b3faedf6471c72 HTTP/1.0 204 - Swift - - - - tx40bfe658a3d345e486c6d-005780b48b - 0.0104 RL - 1468052619.720752001 1468052619.731138945 - Jul 9 17:23:39 controller account-server: STDERR: WARNING:account- server:Identity response: {“error”: {“message”: “The request you have made requires authentication.“, “code”: 401, “title”: “Unauthorized”}} (txn: tx40bfe658a3d345e486c6d-005780b48b) Jul 9 17:23:39 controller account-server: STDERR: WARNING:account- server:Identity response: {“error”: {“message”: “The request you have made requires authentication.“, “code”: 401, “title”: “Unauthorized”}} (txn: tx40bfe658a3d345e486c6d-005780b48b) Jul 9 17:23:39 controller account-server: STDERR: CRITICAL:account-server:Unable to validate token: Identity server rejected authorization necessary to fetch token data (txn: tx40bfe658a3d345e486c6d-005780b48b) Jul 9 17:23:40 controller account-server: STDERR: WARNING:account- server:Identity response: {“error”: {“message”: “The request you have made requires authentication.“, “code”: 401, “title”: “Unauthorized”}} (txn: txb5f10f093080497d9e99e-005780b48c) Jul 9 17:23:40 controller account-server: STDERR: WARNING:account- server:Identity response: {“error”: {“message”: “The request you have made requires authentication.“, “code”: 401, “title”: “Unauthorized”}} (txn: txb5f10f093080497d9e99e-005780b48c) Jul 9 17:23:40 controller account-server: STDERR: CRITICAL:account-server:Unable to validate token: Identity server rejected authorization necessary to fetch token data (txn: txb5f10f093080497d9e99e-005780b48c) …