blob: d8b75c8546bc5fa266cbc82facabff3ba4b30b8e [file] [log] [blame]
Zack Williams3432b942018-04-24 17:46:41 -07001{{- /*
2Copyright 2017-present Open Networking Foundation
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/ -}}
16
17{{- define "xos-tosca.config" }}
18name: xos-tosca
19gprc_endpoint: "xos-core"
20local_cert: /usr/local/share/ca-certificates/local_certs.crt
21logging:
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
Zack Williams11255982018-08-27 14:22:55 -070031 kafka:
Zack Williams7659cc92018-11-01 07:51:12 -070032 class: kafkaloghandler.KafkaLogHandler
Zack Williams11255982018-08-27 14:22:55 -070033 bootstrap_servers:
34 - "cord-kafka:9092"
35 topic: xos.log.tosca
Zack Williams3432b942018-04-24 17:46:41 -070036 loggers:
Zack Williams7659cc92018-11-01 07:51:12 -070037 '':
Zack Williams3432b942018-04-24 17:46:41 -070038 handlers:
39 - console
40 - file
Zack Williams11255982018-08-27 14:22:55 -070041 - kafka
Zack Williams3432b942018-04-24 17:46:41 -070042 level: DEBUG
43{{- end }}