forked from eonpatapon/contrail-api-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logger.conf.example
68 lines (55 loc) · 1.09 KB
/
logger.conf.example
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
61
62
63
64
65
66
67
68
[loggers]
keys=root,cli,parser,utils,main,keystone,stevedore,requests
[handlers]
keys=fileHandler,consoleHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=DEBUG
handlers=fileHandler
[logger_keystone]
level=DEBUG
handlers=consoleHandler
qualname=keystoneclient
propagate=0
[logger_requests]
level=DEBUG
handlers=consoleHandler
qualname=requests
propagate=0
[logger_stevedore]
level=DEBUG
handlers=consoleHandler
qualname=stevedore
propagate=0
[logger_cli]
level=DEBUG
handlers=fileHandler
qualname=contrail_api_cli
propagate=0
[logger_main]
level=INFO
handlers=fileHandler
qualname=contrail_api_cli.main
propagate=0
[logger_parser]
level=INFO
handlers=fileHandler
qualname=contrail_api_cli.parser
propagate=0
[logger_utils]
level=INFO
handlers=fileHandler
qualname=contrail_api_cli.utils
propagate=0
[handler_consoleHandler]
class=StreamHandler
formatter=simpleFormatter
args=(sys.stdout,)
[handler_fileHandler]
class=FileHandler
formatter=simpleFormatter
args=('/tmp/contrail-api-cli.log',)
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=