Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An XML Schema Definition for logback
branch: master

Merge pull request #19 from evgeniyluzman/patch-1

Add ConnectionSource and TriggeringPolicy to Appender
latest commit 1138ffd459
@enricopulatzo authored
Failed to load latest commit information.
src/main/xsd Add ConnectionSource and TriggeringPolicy to Appender
LICENSE Update LICENSE
README.md add simple example to readme

README.md

logback XSD

Overview

The purpose of this project is to provide a useful XML Schema Definition file for use in logback configuration files.

The logback project does not provide an XSD which prevents editors from easily providing auto-complete functionality to the configuration files used by logback.

A simple usage example:

  <?xml version="1.0" encoding="UTF-8"?>
  <configuration
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="logback.xsd">
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
      <encoder>
        <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
      </encoder>
    </appender>
    <root level="WARN">
        <appender-ref ref="STDOUT" />
    </root>
  </configuration>
Something went wrong with that request. Please try again.