-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yaml
60 lines (57 loc) · 1.48 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
default_vars_file: commons/default-variables.yaml
# enable_print_input_env: false
enable_loopy_report: true
enable_loopy_logo: true
enable_loopy_log: true
ignore_validate_env_input: false
keep_env_variables:
- CLUSTER_API_URL
- CLUSTER_ADMIN_ID
- CLUSTER_ADMIN_PW
- CLUSTER_TOKEN
- MINIO_S3_SVC_URL
- MINIO_DEFAULT_BUCKET_NAME
- MINIO_ACCESS_KEY_ID
- MINIO_SECRET_ACCESS_KEY
- MINIO_REGION
- JENKINS_USER
- JENKINS_TOKEN
- JENKINS_URL
- CUSTOM_KSERVE_MANIFESTS
additional_role_dirs: [] #example /home/roles
additional_unit_dirs: []
additional_playbook_dirs: []
# Logger Configuration
logging:
version: 1
disable_existing_loggers: False
formatters:
simple:
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
detailed:
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s - [%(filename)s:%(lineno)d]"
colored:
(): colorlog.ColoredFormatter
format: "%(log_color)s%(asctime)s %(levelname)s:[%(filename)s:%(lineno)3d] %(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
log_colors:
DEBUG: "cyan"
INFO: "light_blue"
WARNING: "yellow"
ERROR: "red"
CRITICAL: "bold_red"
handlers:
console:
class: logging.StreamHandler
level: ERROR
formatter: colored
stream: ext://sys.stdout
file:
class: logging.FileHandler
level: DEBUG
formatter: detailed
filename: loopy.log
mode: w
root:
level: DEBUG
handlers: [console, file]