Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

justify filter thresh hold #438

Merged
merged 5 commits into from
Jan 26, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion cqf-ruler-dstu3/src/main/webapp/WEB-INF/classes/logback.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<configuration scan="true" scanPeriod="30 seconds">

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!--
The following filter deny all events with a level below INFO, that is TRACE and DEBUG
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
-->
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} [%file:%line] %msg%n</pattern>
</encoder>
Expand Down Expand Up @@ -31,10 +34,15 @@
</encoder>
</appender>

<root level="INFO">
<root level="DEBUG">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
<!-- <appender-ref ref="htmlAppender" /> -->
</root>

<logger name = "org.opencds.cqf.cql.engine.debug" level="DEBUG" additivity="false">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE"/>
</logger>

</configuration>
11 changes: 9 additions & 2 deletions cqf-ruler-r4/src/main/webapp/WEB-INF/classes/logback.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<configuration scan="true" scanPeriod="30 seconds">

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!--
The following filter deny all events with a level below INFO, that is TRACE and DEBUG
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
</filter> -->
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} [%file:%line] %msg%n</pattern>
</encoder>
Expand Down Expand Up @@ -31,10 +33,15 @@
</encoder>
</appender>

<root level="INFO">
<root level="DEBUG">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
<!-- <appender-ref ref="htmlAppender" /> -->
</root>

<logger name = "org.opencds.cqf.cql.engine.debug" level="DEBUG" additivity="false">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE"/>
</logger>

</configuration>
8 changes: 4 additions & 4 deletions dstu3/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<configuration scan="true" scanPeriod="30 seconds">

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<!-- <filter class="ch.qos.logback.classic.filter.ThresholdFilter">-->
<!-- <level>INFO</level>-->
<!-- </filter>-->
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} [%file:%line] %msg%n</pattern>
</encoder>
Expand Down Expand Up @@ -31,7 +31,7 @@
</encoder>
</appender>

<root level="INFO">
<root level="DEBUG">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
<!-- <appender-ref ref="htmlAppender" /> -->
Expand Down
8 changes: 4 additions & 4 deletions r4/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<configuration scan="true" scanPeriod="30 seconds">

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<!-- <filter class="ch.qos.logback.classic.filter.ThresholdFilter">-->
<!-- <level>INFO</level>-->
<!-- </filter>-->
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} [%file:%line] %msg%n</pattern>
</encoder>
Expand Down Expand Up @@ -31,7 +31,7 @@
</encoder>
</appender>

<root level="INFO">
<root level="DEBUG">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
<!-- <appender-ref ref="htmlAppender" /> -->
Expand Down