-
Notifications
You must be signed in to change notification settings - Fork 32
/
config.yaml
43 lines (43 loc) · 1.06 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
# Copyright (C) 2015, Wazuh Inc.
# Created by Wazuh, Inc. <[email protected]>.
# This program is a free software; you can redistribute it and/or modify it under the terms of GPLv2
version: 1
formatters:
simple:
format: '[%(asctime)s] [%(levelname)s] %(name)s: %(message)s'
colored:
(): colorlog.ColoredFormatter
format: '%(log_color)s[%(asctime)s] [%(levelname)s] %(name)s: %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
filters:
uppercase:
(): modules.generic.logger.filters.UppercaseNameFilter
handlers:
console:
class: colorlog.StreamHandler
level: DEBUG
formatter: colored
stream: ext://sys.stdout
filters: [uppercase]
file:
class: logging.FileHandler
level: DEBUG
formatter: simple
filename: /tmp/workflow.log
filters: [uppercase]
loggers:
allocator:
level: DEBUG
handlers: [console, file]
propagate: no
provisioner:
level: DEBUG
handlers: [console, file]
propagate: no
tester:
level: DEBUG
handlers: [console, file]
propagate: no
root:
level: DEBUG
handlers: [console, file]