diff --git a/conf/application-json-logger.xml b/conf/application-json-logger.xml new file mode 100644 index 0000000..e40586e --- /dev/null +++ b/conf/application-json-logger.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/conf/application.conf b/conf/application.conf index 8e1e7ac..d01d86c 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -19,8 +19,6 @@ include "backend.conf" appName=vat-service-guide appUrl="http://"${appName}".local" -incapacityBenefitPAYEReference="892/BA500" -employmentAndSupportAllowancePAYEReference="267/ESA500" # An ApplicationLoader that uses Guice to bootstrap the application. play.application.loader = "uk.gov.hmrc.play.bootstrap.ApplicationLoader" diff --git a/conf/logback.xml b/conf/logback.xml new file mode 100644 index 0000000..1c8415d --- /dev/null +++ b/conf/logback.xml @@ -0,0 +1,60 @@ + + + + + logs/vat-service-guide.log + + %date{ISO8601} level=[%level] logger=[%logger] thread=[%thread] message=[%message] %replace(exception=[%xException]){'^exception=\[\]$',''}%n + + + + + + %date{ISO8601} level=[%level] logger=[%logger] thread=[%thread] rid=[%X{X-Request-ID}] user=[%X{Authorization}] message=[%message] %replace(exception=[%xException]){'^exception=\[\]$',''}%n + + + + + + %date{ISO8601} level=[%level] logger=[%logger] thread=[%thread] rid=[not-available] user=[not-available] message=[%message] %replace(exception=[%xException]){'^exception=\[\]$',''}%n + + + + + logs/access.log + + %message%n + + + + + logs/connector.log + + %message%n + + + + + + + + + + + + + + + + + + + + + + + + + + +