Divide the MSB source codes into two repos
[msb/apigateway.git] / apiroute / apiroute-standalone / src / assembly / resources / apiroute / conf / apiroute.yml
1 defaultWorkspace: ../apiroute-works\r
2 \r
3 defaultName: ${DW_DEFAULT_NAME:-Stranger}\r
4 \r
5 \r
6 # use the discover config if you want to monitor a discover service and register microservices change\r
7 discoverInfo:\r
8    ip: 127.0.0.1\r
9    port: 10081\r
10    enabled: true\r
11 \r
12  \r
13 # use the simple server factory if you only want to run on a single port\r
14 server:\r
15   type: simple\r
16   rootPath: '/api/microservices/v1/*'\r
17   applicationContextPath: /\r
18   adminContextPath: /admin\r
19   connector:\r
20     type: http\r
21     port: 8066\r
22 \r
23 # Logging settings.\r
24 logging:\r
25 \r
26   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.\r
27   level: ALL\r
28 \r
29   # Logger-specific levels.\r
30   loggers:\r
31 \r
32     # Sets the level for 'com.example.app' to DEBUG.\r
33     com.example: DEBUG\r
34 \r
35   appenders:\r
36     - type: console\r
37       threshold: WARN\r
38       timeZone: UTC\r
39       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"\r
40     - type: file\r
41       threshold: INFO\r
42       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"\r
43       currentLogFilename: ../apiroute-works/logs/msb-apiroute.log\r
44       archivedLogFilenamePattern: ../apiroute-works/logs/zip/msb-apiroute-%d{yyyy-MM-dd}.log.gz\r
45       archivedFileCount: 7\r
46       timeZone: UTC\r
47 \r