2 # Copyright 2016 ZTE Corporation.
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.
19 defaultName: ${DW_DEFAULT_NAME:-Stranger}
20 # the micro service ip
22 msbServerAddr: http://127.0.0.1:80
26 # the name of your JDBC driver
27 driverClass: com.mysql.jdbc.Driver
36 url: jdbc:mysql://127.0.0.1:3306/extsys
38 # use the simple server factory if you only want to run on a single port
46 rootPath: '/openoapi/extsys/v1/*'
47 applicationContextPath: /
48 adminContextPath: /admin
56 # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
59 # Logger-specific levels.
62 # Sets the level for 'com.example.app' to DEBUG.
63 org.openo.commonservice.extsys.ExtsysApp: INFO
69 logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
72 logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
73 currentLogFilename: ./works/logs/extsys.log
74 archivedLogFilenamePattern: ./works/logs/zip/extsys-%d{yyyy-MM-dd}.log.gz