A slightly different answer that allows eclipse autocomplete is:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.padual.com/java/logback.xsd"
debug="true" packagingData="true" scan="true" scanPeriod="30 seconds">
Update 2020-11-02
Thanks to https://github.com/enricopulatzo/logback-XSD
<?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">
<!DOCTYPE configuration>
. Can't stand warnings on my projects, OCD I guess. – Lucas