Skip to content

Commit

Permalink
changing log format
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-rahulprakash committed Nov 25, 2024
1 parent fb8860d commit 8d0a7c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@
<property name="jakarta.persistence.jdbc.user" value="sa"/>
<property name="jakarta.persistence.jdbc.password" value=""/>
<property name="jakarta.persistence.schema-generation.database.action" value="create"/>
<property name="eclipselink.logging.level.sql" value="FINE"/>
<property name="eclipselink.logging.level.sql" value="INFO"/>
<property name="eclipselink.logging.parameters" value="true"/>
<property name="eclipselink.persistence-context.flush-mode" value="auto"/>
<property name="eclipselink.logging.file" value="eclipselink.log"/>
</properties>
</persistence-unit>
</persistence>
5 changes: 4 additions & 1 deletion polaris-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ logging:
# Do not display log statements below this threshold to stdout.
threshold: ALL
# Custom Logback PatternLayout with threadname.
logFormat: "%-5p [%d{ISO8601} - %-6r] [%t] [%X{aid}%X{sid}%X{tid}%X{wid}%X{oid}%X{srv}%X{job}%X{rid}] %c{30}: %m %kvp%n%ex"
layout:
type: polaris
flattenKeyValues: false
includeKeyValues: true

# Settings for logging to a file.
- type: file
Expand Down

0 comments on commit 8d0a7c1

Please sign in to comment.