633309bca8de0218f7ec043a7877668be1f9df62
[holmes/dsa.git] / dmaap-dsa-standalone / src / main / assembly / conf / dmaap-dsa.yml
1 apidescription: ZTE Holmes Data Source Adaptor RESTful APIs
2
3 # use the simple server factory if you only want to run on a single port
4 #server:
5 #  type: simple
6 #  connector:
7 #    type: http
8 #    port: 12003
9
10 server:
11   type: simple
12   rootPath:  '/onapapi/holmes-dmaap-dsa/v1/*'
13   applicationContextPath: /
14   adminContextPath: /admin
15   connector:
16     type: http
17     port: 9103
18
19 # Logging settings.
20 logging:
21
22   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
23   level: INFO
24
25   # Logger-specific levels.
26   loggers:
27
28     # Sets the level for 'com.example.app' to DEBUG.
29     com.example: DEBUG
30   
31   appenders:
32     - type: console
33       threshold: INFO
34       timeZone: UTC
35       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
36     - type: file
37       threshold: INFO
38       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
39       currentLogFilename: ../logs/fm-relation.log
40       archivedLogFilenamePattern: ../logs/zip/fm-relation-%d{yyyy-MM-dd}.log.gz
41       archivedFileCount: 7
42   #  - type: socketJson
43       threshold: INFO 
44   #    autoDiscover: false
45   #    logstashServiceName: logstash
46    #   logstashServiceVersion: v1