From bc833d0da47672f06ded8452620b6feb6d32654f Mon Sep 17 00:00:00 2001 From: Rohan Sircar Date: Wed, 15 Jan 2020 16:42:22 +0530 Subject: [PATCH] added production profile --- chatto/src/main/resources/application-prod.properties | 8 ++++++++ chatto/src/main/resources/application.properties | 1 + chatto/src/main/resources/templates/chat.html | 7 +------ .../src/main/resources/templates/fragments/head.html | 11 +---------- 4 files changed, 11 insertions(+), 16 deletions(-) create mode 100644 chatto/src/main/resources/application-prod.properties diff --git a/chatto/src/main/resources/application-prod.properties b/chatto/src/main/resources/application-prod.properties new file mode 100644 index 0000000..49f3744 --- /dev/null +++ b/chatto/src/main/resources/application-prod.properties @@ -0,0 +1,8 @@ +logging.level.org.hibernate.stat=INFO +logging.level.org.springframework.web=INFO +logging.level.web=INFO +logging.level.org.hibernate.SQL=INFO +logging.level.org.hibernate.type.descriptor.sql.BasicBinder=INFO +spring.http.log-request-details=false +logging.level.org.springframework.cache = INFO +chat-bundle=bundle.min.js \ No newline at end of file diff --git a/chatto/src/main/resources/application.properties b/chatto/src/main/resources/application.properties index e52c42e..c7282ff 100644 --- a/chatto/src/main/resources/application.properties +++ b/chatto/src/main/resources/application.properties @@ -26,5 +26,6 @@ spring.cache.jcache.config=classpath:ehcache.xml logging.level.org.springframework.cache = DEBUG chatto.token.timeout-duration=30 +chat-bundle=bundle.js # spring.devtools.add-properties=false \ No newline at end of file diff --git a/chatto/src/main/resources/templates/chat.html b/chatto/src/main/resources/templates/chat.html index 74a30ee..490d27f 100644 --- a/chatto/src/main/resources/templates/chat.html +++ b/chatto/src/main/resources/templates/chat.html @@ -10,14 +10,9 @@ Chat - + - - - - - diff --git a/chatto/src/main/resources/templates/fragments/head.html b/chatto/src/main/resources/templates/fragments/head.html index c3a6d06..0880e88 100644 --- a/chatto/src/main/resources/templates/fragments/head.html +++ b/chatto/src/main/resources/templates/fragments/head.html @@ -3,7 +3,6 @@ - @@ -29,14 +28,7 @@ - - - Layout Generic Title @@ -45,5 +37,4 @@ - - \ No newline at end of file + \ No newline at end of file