Skip to content

Commit

Permalink
ES-1638 (#358)
Browse files Browse the repository at this point in the history
* ES-1638

Signed-off-by: ase-101 <[email protected]>

* ES-1638

Signed-off-by: ase-101 <[email protected]>

---------

Signed-off-by: ase-101 <[email protected]>
  • Loading branch information
ase-101 authored Sep 17, 2024
1 parent 8d5ec7e commit 39dc7f7
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion signup-service/src/main/resources/application-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,25 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#----------------------------------------------------------------------------------------------------------------------------
# challenge.timeout, resend-delay are count as seconds
## Tomcat access logs
server.tomcat.accesslog.enabled=true
server.tomcat.accesslog.directory=/dev
server.tomcat.accesslog.prefix=stdout
server.tomcat.accesslog.buffered=false
server.tomcat.accesslog.suffix=
server.tomcat.accesslog.file-date-format=
server.tomcat.accesslog.pattern={"@timestamp":"%{yyyy-MM-dd'T'HH:mm:ss.SSS'Z'}t","level":"ACCESS","level_value":70000,"traceId":"%{X-B3-TraceId}i","statusCode":%s,"req.requestURI":"%U","bytesSent":%b,"timeTaken":%T,"appName":"${spring.application.name}","req.userAgent":"%{User-Agent}i","req.xForwardedFor":"%{X-Forwarded-For}i","req.referer":"%{Referer}i","req.method":"%m","req.remoteHost":"%a"}
server.tomcat.accesslog.className=io.mosip.kernel.core.logger.config.SleuthValve
#logging.level.org.springframework.web.client.RestTemplate=INFO
logging.level.io.mosip.signup=INFO

## Prometheus
management.endpoint.metrics.enabled=true
management.endpoints.web.exposure.include=*
management.endpoint.prometheus.enabled=true
management.metrics.export.prometheus.enabled=true

## challenge.timeout, resend-delay are count as seconds
mosip.signup.identifier.regex=^\\+855[1-9]\\d{7,8}$
mosip.signup.identifier.prefix=+855
mosip.signup.supported-languages={'khm','eng'}
Expand Down

0 comments on commit 39dc7f7

Please sign in to comment.