Envoy · Capability

Envoy Admin API — Logging

Envoy Admin API — Logging. 2 operations. Lead operation: Envoy Get current log levels. Self-contained Naftiko capability covering one Envoy business surface.

Run with Naftiko EnvoyLogging

What You Can Do

GET
Getlogging — Envoy Get current log levels
/v1/logging
POST
Setlogging — Envoy Change log levels
/v1/logging

MCP Tools

envoy-get-current-log-levels

Envoy Get current log levels

read-only idempotent
envoy-change-log-levels

Envoy Change log levels

Capability Spec

admin-logging.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Envoy Admin API — Logging
  description: 'Envoy Admin API — Logging. 2 operations. Lead operation: Envoy Get current log levels. Self-contained Naftiko
    capability covering one Envoy business surface.'
  tags:
  - Envoy
  - Logging
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENVOY_API_KEY: ENVOY_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-logging
    baseUri: http://localhost:9901
    description: Envoy Admin API — Logging business capability. Self-contained, no shared references.
    resources:
    - name: logging
      path: /logging
      operations:
      - name: getlogging
        method: GET
        description: Envoy Get current log levels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setlogging
        method: POST
        description: Envoy Change log levels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: level
          in: query
          type: string
          description: Set log level for all loggers simultaneously. One of trace, debug, info, warning, error, critical,
            or off.
        - name: paths
          in: query
          type: string
          description: Set log level for a specific logger using logger_name:level format. Can be specified multiple times
            for multiple loggers.
  exposes:
  - type: rest
    namespace: admin-logging-rest
    port: 8080
    description: REST adapter for Envoy Admin API — Logging. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/logging
      name: logging
      description: REST surface for logging.
      operations:
      - method: GET
        name: getlogging
        description: Envoy Get current log levels
        call: admin-logging.getlogging
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: setlogging
        description: Envoy Change log levels
        call: admin-logging.setlogging
        with:
          level: rest.level
          paths: rest.paths
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-logging-mcp
    port: 9090
    transport: http
    description: MCP adapter for Envoy Admin API — Logging. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: envoy-get-current-log-levels
      description: Envoy Get current log levels
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-logging.getlogging
      outputParameters:
      - type: object
        mapping: $.
    - name: envoy-change-log-levels
      description: Envoy Change log levels
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-logging.setlogging
      with:
        level: tools.level
        paths: tools.paths
      outputParameters:
      - type: object
        mapping: $.