Spring Boot 3 Loggers API

Logger configuration management

Operations 3

GET /loggers List Loggers #
GET /loggers/{name} Get Logger #
POST /loggers/{name} Set Logger Level #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spring-boot-3-loggers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spring-boot-3-loggers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spring Boot 3 Actuator Environment Loggers API
  description: Production-ready monitoring and management endpoints provided by Spring Boot 3 Actuator. Includes health checks, Micrometer metrics, environment inspection, logger configuration, thread dumps, scheduled tasks, HTTP exchange tracing, and more. Endpoints are served under the /actuator base path and can be secured via Spring Security.
  version: 3.2.0
  contact:
    name: Spring Team
    url: https://spring.io/team
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://localhost:8080/actuator
  description: Local Spring Boot 3 application with Actuator enabled
tags:
- name: Loggers
  description: Logger configuration management
paths:
  /loggers:
    get:
      operationId: listLoggers
      summary: List Loggers
      description: Returns all loggers with their configured and effective log levels.
      tags:
      - Loggers
      responses:
        '200':
          description: Logger configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoggersResponse'
  /loggers/{name}:
    get:
      operationId: getLogger
      summary: Get Logger
      description: Returns the configuration for a specific logger by name.
      tags:
      - Loggers
      parameters:
      - name: name
        in: path
        required: true
        description: Logger name (e.g., com.example.service)
        schema:
          type: string
          example: com.example.service.UserService
      responses:
        '200':
          description: Logger configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoggerDetail'
        '404':
          description: Logger not found
    post:
      operationId: setLoggerLevel
      summary: Set Logger Level
      description: Configures the log level for a specific logger at runtime. Pass null to reset to the parent logger's effective level.
      tags:
      - Loggers
      parameters:
      - name: name
        in: path
        required: true
        description: Logger name
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogLevelRequest'
      responses:
        '204':
          description: Logger level updated
        '400':
          description: Invalid log level
components:
  schemas:
    LoggersResponse:
      type: object
      description: All loggers with their levels
      properties:
        levels:
          type: array
          description: Available log levels
          items:
            type: string
          example:
          - TRACE
          - DEBUG
          - INFO
          - WARN
          - ERROR
          - FATAL
          - false
        loggers:
          type: object
          description: Logger configurations keyed by logger name
          additionalProperties:
            $ref: '#/components/schemas/LoggerDetail'
        groups:
          type: object
          description: Logger groups (Spring Boot defined groups)
          additionalProperties:
            type: object
    LoggerDetail:
      type: object
      description: Configuration for a single logger
      properties:
        configuredLevel:
          type: string
          description: Explicitly configured level (null if not set)
          enum:
          - TRACE
          - DEBUG
          - INFO
          - WARN
          - ERROR
          - FATAL
          - false
          nullable: true
        effectiveLevel:
          type: string
          description: Effective level inherited from parent if not explicitly set
          enum:
          - TRACE
          - DEBUG
          - INFO
          - WARN
          - ERROR
          - FATAL
          - false
    LogLevelRequest:
      type: object
      description: Request body to set a logger level
      properties:
        configuredLevel:
          type: string
          description: Log level to set (null to reset)
          enum:
          - TRACE
          - DEBUG
          - INFO
          - WARN
          - ERROR
          - FATAL
          - false
          nullable: true