Skip to content

Commit

Permalink
tewak logging configuration; add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
svencc committed Aug 19, 2023
1 parent 0e89d6b commit 0a887e0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
4 changes: 4 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TODO LIST
*
*
* db migration scripts
* add map default account to db in init (same as used in postman collection)
*
* DB-based Configuration System
* new db config values for type-colors, z-indexes, etc.
* Open for Comments; see TODOS in AsyncCacheableRequestProcessor -> app cache management move to this class; do not use @cacheable annotations anymore?
Expand Down
2 changes: 1 addition & 1 deletion runConfigurations/RECOM.run.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="RECOM" type="Application" factoryName="Application">
<option name="ALTERNATIVE_JRE_PATH" value="temurin-17 17.0.7" />
<option name="ALTERNATIVE_JRE_PATH" value="temurin-17" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
<option name="MAIN_CLASS_NAME" value="com.recom.Application" />
<module name="recom-backend" />
Expand Down
8 changes: 7 additions & 1 deletion src/main/resources/application-local.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ spring.datasource.password=recomRootPwd
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=update

logging.level.com.recom=DEBUG
logging.level.com.recom=INFO
logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.com.jdbc.bind=TRACE
logging.level.com.vladmihalcea.hibernate.type.util.LogUtils=DEBUG
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.highlight_sql=true
spring.jpa.properties.hibernate.generate_statistics=true
#logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=DEBUG


Expand Down
10 changes: 7 additions & 3 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ spring.datasource.password=<to-be-set>

spring.datasource.hikari.maximumPoolSize=40

logging.level.root=INFO
logging.level.org.hibernate.type=info
logging.level.com.vladmihalcea.hibernate.type.util.LogUtils=OFF

spring.jpa.open-in-view=false
spring.jpa.show-sql=false
Expand All @@ -32,6 +29,13 @@ spring.jpa.properties.hibernate.jdbc.batch_size=100
spring.jpa.properties.hibernate.jdbc.fetch_size=100
spring.jpa.properties.hibernate.jdbc.batch_versioned_data=true


logging.level.com.recom=ERROR
logging.level.org.hibernate.type=ERROR
logging.level.org.hibernate.SQL=ERROR
logging.level.com.vladmihalcea.hibernate.type.util.LogUtils=OFF


recom.security.jwt-issuer=<to-be-set>
recom.security.jwt-expiration-time=30m
recom.security.key-path=
Expand Down

0 comments on commit 0a887e0

Please sign in to comment.