mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-20 19:56:09 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
8232d93d81
@ -1,4 +1,4 @@
|
||||
<configuration scan="true" scanPeriod="30 seconds">
|
||||
<configuration>
|
||||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
|
@ -1,4 +1,4 @@
|
||||
<configuration scan="true" scanPeriod="30 seconds">
|
||||
<configuration>
|
||||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
|
@ -1,4 +1,4 @@
|
||||
<configuration scan="true" scanPeriod="30 seconds">
|
||||
<configuration>
|
||||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
|
@ -31,20 +31,10 @@ package org.hl7.fhir.utilities.logging;
|
||||
|
||||
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.file.Path;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
|
||||
/**
|
||||
* see security.md - manages logging by the FHIR HAPI Core library
|
||||
*
|
||||
@ -60,7 +50,7 @@ public class ManagedLogging {
|
||||
public enum LoggingPolicy {
|
||||
CONSOLE, // log messages go to System.out (default)
|
||||
IGNORED, // log messages don't go anywhere
|
||||
LOG4J, // log messages go to Log4J
|
||||
SLF4J, // log messages go to SLF4J
|
||||
CUSTOM, // log messages to an ILoggingProvider implementation
|
||||
}
|
||||
|
||||
@ -98,7 +88,7 @@ public class ManagedLogging {
|
||||
case IGNORED:
|
||||
// nothing
|
||||
break;
|
||||
case LOG4J:
|
||||
case SLF4J:
|
||||
// todo
|
||||
break;
|
||||
default:
|
||||
|
@ -304,7 +304,7 @@
|
||||
<goal>unpack-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<excludes>**/module-info.class,META-INF/*</excludes>
|
||||
<excludes>**/module-info.class,META-INF/*,logback-test.xml</excludes>
|
||||
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||||
<overWriteReleases>false</overWriteReleases>
|
||||
<overWriteSnapshots>true</overWriteSnapshots>
|
||||
|
@ -1,5 +1,4 @@
|
||||
<configuration scan="true" scanPeriod="30 seconds">
|
||||
|
||||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>INFO</level>
|
||||
|
@ -204,6 +204,9 @@ public class ValidatorCli {
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Prevents SLF4J(I) from printing unnecessary info to the console.
|
||||
System.setProperty("slf4j.internal.verbosity", "WARN");
|
||||
|
||||
final ValidatorCli validatorCli = new ValidatorCli(validationService);
|
||||
|
||||
args = addAdditionalParamsForIpsParam(args);
|
||||
|
@ -1,5 +1,4 @@
|
||||
<configuration scan="true" scanPeriod="30 seconds">
|
||||
|
||||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>INFO</level>
|
||||
@ -12,5 +11,4 @@
|
||||
<root level="info">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
|
||||
</configuration>
|
6
pom.xml
6
pom.xml
@ -43,6 +43,8 @@
|
||||
<maven.compiler.testTarget>11</maven.compiler.testTarget>
|
||||
<maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
|
||||
<checkstyle_config_location>${project.basedir}</checkstyle_config_location>
|
||||
<logback-classic.version>1.5.15</logback-classic.version>
|
||||
<logback.version>1.5.15</logback.version>
|
||||
</properties>
|
||||
|
||||
<name>HL7 Core Artifacts</name>
|
||||
@ -313,13 +315,13 @@
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>1.2.13</version>
|
||||
<version>${logback-classic.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-core</artifactId>
|
||||
<version>1.2.13</version>
|
||||
<version>${logback.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
Loading…
x
Reference in New Issue
Block a user