diff --git a/settings.gradle b/settings.gradle index c1f8751e..84aa0c12 100644 --- a/settings.gradle +++ b/settings.gradle @@ -32,4 +32,5 @@ buildFiles.each { File buildFile -> project.buildFileName = buildFile.name } } +include 'spring-gemfire-starter-logging' diff --git a/spring-gemfire-starter-logging/spring-gemfire-starter-logging.gradle b/spring-gemfire-starter-logging/spring-gemfire-starter-logging.gradle new file mode 100644 index 00000000..afe6d363 --- /dev/null +++ b/spring-gemfire-starter-logging/spring-gemfire-starter-logging.gradle @@ -0,0 +1,10 @@ +apply plugin: 'io.spring.convention.spring-module' +apply from: MAVEN_POM_EDITOR_GRADLE + +description = "Spring Boot Logging Starter for Pivotal GemFire with Logback as the logging provider and adaptation of Log4j to SLF4J" + +dependencies { + + compile project(":spring-geode-starter-logging") + +} diff --git a/spring-geode-starter-logging/spring-geode-starter-logging.gradle b/spring-geode-starter-logging/spring-geode-starter-logging.gradle new file mode 100644 index 00000000..86d1851e --- /dev/null +++ b/spring-geode-starter-logging/spring-geode-starter-logging.gradle @@ -0,0 +1,11 @@ +apply plugin: 'io.spring.convention.spring-module' +apply from: MAVEN_POM_EDITOR_GRADLE + +description = "Spring Boot Logging Starter for Apache Geode with Logback as the logging provider and adaptation of Log4j to SLF4J" + +dependencies { + + compile "org.apache.logging.log4j:log4j-to-slf4j" + compile "org.springframework.boot:spring-boot-starter-logging" + +} diff --git a/spring-geode-starter-logging/src/main/resources/logback.xml b/spring-geode-starter-logging/src/main/resources/logback.xml new file mode 100644 index 00000000..2cb19707 --- /dev/null +++ b/spring-geode-starter-logging/src/main/resources/logback.xml @@ -0,0 +1,20 @@ + + + + + + + + %d %5p %40.40c:%4L - %m%n + + + + + + + + + + + +