Skip to content

enricopulatzo/logback-XSD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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="http://ch.qos.logback/xml/ns/logback"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://ch.qos.logback/xml/ns/logback https://raw.githubusercontent.com/enricopulatzo/logback-XSD/master/src/main/xsd/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>

About

An XML Schema Definition for logback

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published