---
title: "getDbServerLogList"
slug: "cli-vmysql-getdbserverloglist"
tags: ["Cloud DB for MySQL "]
updated: 2026-04-23T09:04:55Z
published: 2026-04-23T09:07:31Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getDbServerLogList

## 개요

Cloud DB for MySQL 인스턴스의 데이터베이스 서버 로그 리스트를 조회합니다.

## 요청

### 요청 파라미터

| 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
| --- | --- | --- | --- | --- |
| regionCode | No | String |  | - 리전 코드 regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득 가능 Default : getRegionList 조회 결과의 첫 번째 리전을 선택 |
| logType | Yes | String |  | - 데이터베이스 서버 로그 파일 타입 Options : BINARY \| ERROR \| SLOW \| GENERAL \| AUDIT |
| cloudMysqlServerInstanceNo | Yes | String |  | - Cloud DB for MySQL 서버 인스턴스 번호 cloudMysqlServerInstanceNo는 [getCloudMysqlInstanceList](/docs/cli-vmysql-getcloudmysqlinstancelist) 액션을 통해 획득 가능 |
| output | No | String |  | - 응답 결과의 포맷 타입 Options : xml \| json Default : json |

## 응답

### 응답 데이터 타입

- CloudMysqlDbServerLogList 타입

| CloudMysqlDbServerLogList extends CommonResponse |
| --- |
| private Integer totalRows; |
| private List<CloudMysqlDbServerLog> cloudMysqlDbServerLogList = new ArrayList<>(); |

| CloudMysqlDbServerLog |
| --- |
| private String fileName; |
| private Long fileSize; |
| private Date fileDate; |

## 예시

### 요청 예시

```
ncloud vmysql getDbServerLogList --regionCode FKR --logType BINARY --cloudMysqlServerInstanceNo ****891
```

### 응답 예시

```
<getDbServerLogListResponse>
    <requestId>d733e677-ad69-4cbe-8351-711d0e0124bc</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <cloudMysqlDbServerLogList>
        <cloudMysqlDbServerLog>
            <fileName>mysql-bin.000001</fileName>
            <fileSize>194</fileSize>
            <fileDate>2021-05-27T18:10:00+0900</fileDate>
        </cloudMysqlDbServerLog>
    </cloudMysqlDbServerLogList>
</getDbServerLogListResponse>
```
