Add logging configuration.

This commit is contained in:
2019-02-18 22:38:35 +01:00
parent 8044b24144
commit 0d27ccced8
4 changed files with 86 additions and 6 deletions

View File

@@ -10,12 +10,14 @@ spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
# Because detection is disabled you have to set correct dialect by hand.
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect
logging.level.org.hibernate=DEBUG
#logging.level.org.hibernate=DEBUG
spring.servlet.multipart.max-file-size=104857600
codiki.files.upload=/opt/codiki/pictures/tmp
codiki.files.profile-images=/opt/codiki/pictures/profiles
codiki.files.images=/opt/codiki/pictures/posts
logging.level.org.codiki=DEBUG
logging.path=/opt/codiki/logs
logging.file=codiki
cors.enabled=false