-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: James Fredley <[email protected]>
- Loading branch information
1 parent
1a51973
commit f03d9df
Showing
10 changed files
with
133 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
examples/audit-test-allow-update-outside-transaction/grails-app/conf/logback-spring.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<statusListener class="ch.qos.logback.core.status.NopStatusListener" /> | ||
<include resource="org/springframework/boot/logging/logback/defaults.xml"/> | ||
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/> | ||
<root level="ERROR"> | ||
<appender-ref ref="CONSOLE"/> | ||
</root> | ||
|
||
|
||
<!-- logging to a file--> | ||
<!-- <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}spring.log}"/>--> | ||
<!-- <include resource="org/springframework/boot/logging/logback/file-appender.xml" />--> | ||
<!-- <root level="INFO">--> | ||
<!-- <appender-ref ref="FILE" />--> | ||
<!-- </root>--> | ||
|
||
<!-- add logging.file.name to application.yml--> | ||
|
||
<springProfile name="development"> | ||
<logger name="StackTrace" level="ERROR" additivity="false"/> | ||
<logger name="ahr" level="DEBUG"/> | ||
<logger name="ahr" level="DEBUG"/> | ||
<logger name="io.awspring.cloud" level="DEBUG"/> | ||
<logger name="grails.spring.BeanBuilder" level="DEBUG"/> | ||
<logger name="org.hibernate.orm.deprecation" level="OFF"/> <!--HHH90000022: Hibernate's legacy org.hibernate.Criteria API is deprecated--> | ||
<logger name="grails.boot" level="DEBUG"/> | ||
|
||
<!-- <logger name="org.hibernate.SQL" level="DEBUG"/>--> | ||
<!-- <logger name="org.hibernate.type.descriptor.sql.BasicBinder" level="TRACE"/>--> | ||
<root level="WARN"/> | ||
</springProfile> | ||
</configuration> | ||
|
32 changes: 0 additions & 32 deletions
32
examples/audit-test-allow-update-outside-transaction/grails-app/conf/logback.groovy
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<statusListener class="ch.qos.logback.core.status.NopStatusListener" /> | ||
<include resource="org/springframework/boot/logging/logback/defaults.xml"/> | ||
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/> | ||
<root level="ERROR"> | ||
<appender-ref ref="CONSOLE"/> | ||
</root> | ||
|
||
|
||
<!-- logging to a file--> | ||
<!-- <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}spring.log}"/>--> | ||
<!-- <include resource="org/springframework/boot/logging/logback/file-appender.xml" />--> | ||
<!-- <root level="INFO">--> | ||
<!-- <appender-ref ref="FILE" />--> | ||
<!-- </root>--> | ||
|
||
<!-- add logging.file.name to application.yml--> | ||
|
||
<springProfile name="development"> | ||
<logger name="StackTrace" level="ERROR" additivity="false"/> | ||
<logger name="ahr" level="DEBUG"/> | ||
<logger name="ahr" level="DEBUG"/> | ||
<logger name="io.awspring.cloud" level="DEBUG"/> | ||
<logger name="grails.spring.BeanBuilder" level="DEBUG"/> | ||
<logger name="org.hibernate.orm.deprecation" level="OFF"/> <!--HHH90000022: Hibernate's legacy org.hibernate.Criteria API is deprecated--> | ||
<logger name="grails.boot" level="DEBUG"/> | ||
|
||
<!-- <logger name="org.hibernate.SQL" level="DEBUG"/>--> | ||
<!-- <logger name="org.hibernate.type.descriptor.sql.BasicBinder" level="TRACE"/>--> | ||
<root level="WARN"/> | ||
</springProfile> | ||
</configuration> | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters