通过


日志

显示正在运行的开发代理实例中的日志。

概要

devproxy logs [options]

Options:
  --pid <pid>            Show logs from a specific instance
  --output <format>      Output format: text|json (default: text)
  --log-level <level>    Logging level: trace|debug|information|warning|error
  -h, --help             Show help

用法

devproxy logs

Arguments

没有

选项

名称 说明 允许的值 默认
--log-level <loglevel> 要记录的消息级别 tracedebuginformationwarningerror information
--output <format> 结构化日志记录的输出格式 textjson text
--pid <pid> 按进程 ID 显示来自特定开发代理实例的日志 整数 n/a

注解

运行多个开发代理实例(使用 --as-system-proxy false)时,请使用此选项 --pid 显示来自特定实例的日志。

另见