Fix sfcDriver Jenkins job failure
[vfc/nfvo/driver/sfc.git] / zte / sfc-driver / plugin-standalone / src / main / assembly / conf / console.yml
1 #
2 #    Copyright 2016 ZTE Corporation.
3 #
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
7 #
8 #         http://www.apache.org/licenses/LICENSE-2.0
9 #
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.
15 #
16
17 template: Hello, %s!
18
19 defaultName: ${DW_DEFAULT_NAME:-Stranger}
20
21 msbServiceUrl: http://127.0.0.1:80
22
23 # use the simple server factory if you only want to run on a single port
24 #server:
25 #  type: simple
26 #  connector:
27 #    type: http
28 #    port: 8080
29 serviceIp: 127.0.0.1
30
31 server:
32   type: simple
33   rootPath: '/api/ztesdncdriver/v1/*'
34   applicationContextPath: /
35   adminContextPath: /admin
36   connector:
37     type: http
38     port: 8411
39
40 # Logging settings.
41 logging:
42
43   # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
44   level: ALL
45
46   # Logger-specific levels.
47   loggers:
48
49     # Sets the level for 'com.example.app' to DEBUG.
50     com.example: DEBUG
51
52   appenders:
53     - type: console
54       threshold: INFO
55       timeZone: UTC
56       logFormat: "%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n"
57     - type: file
58       maxFileSize: 100MB
59       threshold: INFO
60       logFormat: "%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n"
61       currentLogFilename: ./logs/application.log
62       archivedLogFilenamePattern: ./logs/application-%d{yyyy-MM-dd}-%i.log.gz
63       archivedFileCount: 7
64       timeZone: UTC
65