2 # Copyright 2016 2015-2016 ZTE, Inc. and others. All rights reserved.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # Author: Zhaoxing Meng
17 # email: meng.zhaoxing1@zte.com.cn
20 defaultWorkspace: ../apiroute-works
22 defaultName: ${DW_DEFAULT_NAME:-Stranger}
24 propertiesName: redis.properties
27 # use the discover config if you want to monitor a discover service and register microservices change
37 # use the simple server factory if you only want to run on a single port
40 rootPath: '/api/microservices/v1/*'
41 applicationContextPath: /
42 adminContextPath: /admin
50 # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
53 # Logger-specific levels.
56 # Sets the level for 'com.example.app' to DEBUG.
63 logFormat: "%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n"
66 logFormat: "%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n"
67 currentLogFilename: ../apiroute-works/logs/application.log
68 archivedLogFilenamePattern: ../apiroute-works/logs/application-%d{yyyy-MM-dd}-%i.log.gz