-
Notifications
You must be signed in to change notification settings - Fork 4
/
logging.conf
52 lines (41 loc) · 918 Bytes
/
logging.conf
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
[loggers]
keys=root,insights,insights_api,insights_portal,insights_sat6, insights_cli
[handlers]
keys=consoleHandler,fileHandler
[formatters]
keys=simpleFormatter
[logger_insights]
level=DEBUG
handlers=fileHandler
qualname=insights
[logger_insights_api]
level=DEBUG
handlers=fileHandler
qualname=insights_api
[logger_insights_portal]
level=DEBUG
handlers=fileHandler
qualname=insights_portal
[logger_insights_sat6]
level=DEBUG
handlers=fileHandler
qualname=insights_sat6
[logger_insights_cli]
level=DEBUG
handlers=fileHandler
qualname=insights_cli
[logger_root]
handlers=consoleHandler
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[handler_fileHandler]
class=FileHandler
level=DEBUG
formatter=simpleFormatter
args=('insights.log', 'a')
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=%Y-%m-%d %H:%M:%S