最近更新时间:2022-09-27
请求方法:GET
接口描述:获取日志记录
名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DescribeLogRecords | 系统规定参数。取值:DescribeLogRecords |
DBInstanceId | String | 是 | mysql-lv1xxxxxxx | 数据库实例ID |
LogType | String | 是 | error | 日志类型。取值:error、sys PostgreSQL产品只支持sys类型 SQL Server产品只支持error类型 |
FilePath | String | 是 | /mysql/log/error | 文件存储相对路径 |
FileName | String | 是 | error | 文件名 |
状态码:200
名称 | 类型 | 示例值 | 描述 |
Data | String | please use replica_skip_errors instead. | 日志内容 |
GET https://api.unicloud.com//api/rds? Action=DescribeLogRecords &DBInstanceId=mysql-xxxxxxxxxxx &LogType=error &FilePath=/mysql/log/error &FileName=error |
2022-07-14T13:37:25.237714+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_skip_errors' is deprecated and will be removed in a future release. Please use replica_skip_errors instead. 2022-07-14T13:37:25.237731+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead. 2022-07-14T13:37:25.237778+08:00 0 [Warning] [MY-011068] [Server] The syntax 'log_slave_updates' is deprecated and will be removed in a future release. Please use log_replica_updates instead. 2022-07-14T13:37:25.237855+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_skip_errors' is deprecated and will be removed in a future release. Please use replica_skip_errors instead. 2022-07-14T13:37:25.237862+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead. |