modify copyright year
[msb/discovery.git] / sdclient / discovery-standalone / src / assembly / resources / discover / conf / discover.yml
1 #\r
2 # Copyright 2016-2017 ZTE, Inc. and others.\r
3 #\r
4 # Licensed under the Apache License, Version 2.0 (the "License");\r
5 # you may not use this file except in compliance with the License.\r
6 # You may obtain a copy of the License at\r
7 #\r
8 #     http://www.apache.org/licenses/LICENSE-2.0\r
9 #\r
10 # Unless required by applicable law or agreed to in writing, software\r
11 # distributed under the License is distributed on an "AS IS" BASIS,\r
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13 # See the License for the specific language governing permissions and\r
14 # limitations under the License.\r
15 #\r
16 \r
17 defaultWorkspace: ../discovery-works\r
18 \r
19 defaultName: ${DW_DEFAULT_NAME:-Stranger}\r
20 \r
21 # the consul address\r
22 consulAdderss: 127.0.0.1:8500\r
23 \r
24 # the consul way:catalog|agent\r
25 consulRegisterMode: agent\r
26 \r
27 # use the simple server factory if you only want to run on a single port\r
28 server:\r
29   type: simple\r
30   rootPath: '/api/microservices/v1/*'\r
31   applicationContextPath: /\r
32   adminContextPath: /admin\r
33   connector:\r
34     type: http\r
35     port: 8076\r
36 \r
37 # Logging settings.\r
38 logging:\r
39 \r
40   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.\r
41   level: ALL\r
42 \r
43   # Logger-specific levels.\r
44   loggers:\r
45 \r
46     # Sets the level for 'com.example.app' to DEBUG.\r
47     com.example: DEBUG\r
48 \r
49   appenders:\r
50     - type: console\r
51       threshold: INFO\r
52       timeZone: UTC\r
53       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"\r
54     - type: file\r
55       threshold: INFO\r
56       logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"\r
57       currentLogFilename: ../discover-works/logs/msb-discover.log\r
58       archivedLogFilenamePattern: ../discover-works/logs/zip/msb-discover-%d{yyyy-MM-dd}.log.gz\r
59       archivedFileCount: 7\r
60       timeZone: UTC\r
61 \r