Zack Williams | 3432b94 | 2018-04-24 17:46:41 -0700 | [diff] [blame^] | 1 | {{- /* |
| 2 | Copyright 2017-present Open Networking Foundation |
| 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 | {{- define "xos-tosca.config" }} |
| 18 | name: xos-tosca |
| 19 | gprc_endpoint: "xos-core" |
| 20 | local_cert: /usr/local/share/ca-certificates/local_certs.crt |
| 21 | logging: |
| 22 | version: 1 |
| 23 | handlers: |
| 24 | console: |
| 25 | class: logging.StreamHandler |
| 26 | file: |
| 27 | class: logging.handlers.RotatingFileHandler |
| 28 | filename: /var/log/xos.log |
| 29 | maxBytes: 10485760 |
| 30 | backupCount: 5 |
| 31 | loggers: |
| 32 | 'multistructlog': |
| 33 | handlers: |
| 34 | - console |
| 35 | - file |
| 36 | level: DEBUG |
| 37 | {{- end }} |