er.snowizard.snowizard-application.2.0.0.source-code.snowizard.yml Maven / Gradle / Ivy
# {{{project.name}}} - {{{project.description}}}
# {{{project.artifactId}}} configuration
# Data Center ID
datacenter_id: ${DW_DATACENTER_ID:-1}
# Unique Worker ID
worker_id: ${DW_WORKER_ID:-1}
# Validate the User-Agent header?
validate_user_agent: true
# Swagger-specific options.
swagger:
resourcePackage: com.ge.snowizard.application.resources
title: Snowizard API
version: v1
description: Snowizard service API
contact: [email protected]
license: BSD
licenseUrl: http://opensource.org/licenses/BSD-3-Clause
# HTTP-specific options.
server:
applicationConnectors:
- type: http
port: {{{dw.httpPort}}}
adminConnectors:
- type: http
port: {{{dw.httpAdminPort}}}
requestLog:
appenders:
- type: console
timeZone: UTC
target: stdout
- type: file
currentLogFilename: "{{{path.logDirectory}}}/requests.log"
threshold: ALL
archive: true
archivedLogFilenamePattern: "{{{path.logDirectory}}}/requests-%d.log"
archivedFileCount: 5
timeZone: UTC
logging:
level: INFO
loggers:
com.ge.snowizard: DEBUG
appenders:
- type: console
timeZone: UTC
target: stdout
- type: file
currentLogFilename: "{{{path.logDirectory}}}/app.log"
threshold: ALL
archive: true
archivedLogFilenamePattern: "{{{path.logDirectory}}}/app-%d.log"
archivedFileCount: 5
timeZone: UTC