Skip to content

Commit f07bee2

Browse files
Merge pull request #61 from hmrc/BDOG-146
BDOG-146 clean up config deprecation warnings
2 parents 3cf8202 + c3e0384 commit f07bee2

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

conf/application.conf

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ play.modules.enabled += "uk.gov.hmrc.cataloguefrontend.CatalogueFrontendModule"
4343

4444

4545
appName = catalogue-frontend
46-
application.secret = "000000000000000000000000000000000000000000000000000000000000test"
46+
47+
play.http.secret.key = "000000000000000000000000000000000000000000000000000000000000test"
4748

4849
# Session configuration
4950
# ~~~~~
@@ -70,7 +71,7 @@ play.http.errorHandler = "uk.gov.hmrc.cataloguefrontend.service.CatalogueErrorHa
7071
# you may need to define a router file `conf/my.application.routes`.
7172
# Default to Routes in the root package (and conf/routes)
7273
# !!!WARNING!!! DO NOT CHANGE THIS ROUTER
73-
application.router = prod.Routes
74+
play.http.router = prod.Routes
7475

7576
assets {
7677
version = "2.149.0"
@@ -83,9 +84,9 @@ assets {
8384

8485
# Controller
8586
# ~~~~~
86-
# By default all controllers will have authorisation, logging and
87+
# By default all controllers will have authorisation, logging and
8788
# auditing (transaction monitoring) enabled.
88-
# The below controllers are the default exceptions to this rule.
89+
# The below controllers are the default exceptions to this rule.
8990

9091
controllers {
9192
com.kenshoo.play.metrics.MetricsController = {
@@ -118,18 +119,6 @@ controllers {
118119
# You can disable evolutions if needed
119120
# evolutionplugin=disabled
120121

121-
# Logger
122-
# ~~~~~
123-
# You can also configure logback (http://logback.qos.ch/), by providing a logger.xml file in the conf directory .
124-
125-
# Root logger:
126-
logger.root = ERROR
127-
128-
# Logger used by the framework:
129-
logger.play = INFO
130-
131-
# Logger provided to your application:
132-
logger.application = DEBUG
133122

134123
# Metrics plugin settings - graphite reporting is configured on a per env basis
135124
metrics {

0 commit comments

Comments
 (0)