# logback-json-example **Repository Path**: mirrors_andyglick/logback-json-example ## Basic Information - **Project Name**: logback-json-example - **Description**: Logback JSON example - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-02-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Logback JSON example This project shows how to configure Logback to log in JSON. Relevant code: - [`logback.xml`](src/main/resources/logback.xml) - [`pom.xml`](pom.xml) Output example: ```java logger.debug("Hello world."); ``` ```json { "timestamp" : "2018-05-26T14:51:07.505Z", "level" : "DEBUG", "thread" : "main", "logger" : "com.mathieularose.Main", "message" : "Hello world.", "context" : "default" } ```