---
sourceDocument: 호주 API 참조
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ko-KR/api-reference

 Release :

    - australia

ft:locale :

    - ko-KR

ft:publication_title :

    - 호주 API 참조

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# REST 응답에서 세션 디버그 로그 반환

# REST 응답에서 세션 디버그 로그 반환 {#ariaid-title1}

* 릴리스 버전: Australia
* 
* 업데이트 날짜 2026년 03월 12일
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 소요 시간: 1분

요청에 X-WantSessionDebugMessages 헤더를 전달하여 REST 응답 본문에 세션 디버그 로그를 포함할 수 있습니다.
현재 세션에 대해 세션 디버깅이 활성화된 경우 세션 디버그 메시지를 반환하려면 REST 요청에서 헤더 X-WantSessionDebugMessages를 true 로 설정합니다.  
주:  
이 헤더를 보내기 전에 세션 디버깅을 사용하도록 설정해야 합니다.  

## 요청

이 예시에서는 활성화된 REST Session Debug SQL API 탐색기를 사용하여 수행된 테이블 API 요청을 보여줍니다.

    GET api/now/table/incident/9c573169c611228700193229fff72400
    X-WantSessionDebugMessages:true
    Content-Type: application/json;charset=UTF-8
    Accept: application/json, text/plain,*/*
    X-UserToken: <user token>

## 응답 본문

    {
      "result":{
        "description":"User can't access email on mail.company.com.",
        "number":"INC0000001"
      },
      "session":{
        "debug_logs":[
           {
             "type":"sql",
             "customerUpdate":false,
             "line":"17:17:27.777: Time: 0:00:00.000 for: glide_master_db[glide.5] ..... sys_user_session0.`id` = '3BEA7001EB230200C46AC2EEF106FE2A'</span>",
             "debugClassSet":""
           },
          {
            "type":"sql",
            "customerUpdate":false,
            "line":"17:17:27.779: Time: 0:00:00.002 for: glide_master_db[glide.6]  ... `sys_id` = '7fea7001eb230200c46ac2eef106fe2a'</span>",
            "debugClassSet":""
           }
        ]
      }
    }

**관련 개념**   

* [디버깅 세션](https://servicenow-prod.fluidtopics.net/d4BDNZv_n7BOhrJO1iEZBQ#c_SessionDebug "세션 디버깅을 사용하여 사용자 인터페이스에 디버깅 메시지를 표시합니다.")

