-
Notifications
You must be signed in to change notification settings - Fork 0
/
logging_file.ini
117 lines (97 loc) · 2.24 KB
/
logging_file.ini
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[loggers]
keys=root, ingest_tweets, ingest_reddit, tsf_data, cluster_data, store_data, streamlit
[logger_root]
level=DEBUG
handlers=screen,file
[logger_ingest_tweets]
level=DEBUG
handlers=screen,file_ingest_tweets
propagate=0
qualname=ingest_tweets
[logger_ingest_reddit]
level=DEBUG
handlers=screen,file_ingest_reddit
propagate=0
qualname=ingest_reddit
[logger_tsf_data]
level=DEBUG
handlers=screen,file_tsf_data
propagate=0
qualname=tsf_data
[logger_cluster_data]
level=DEBUG
handlers=screen,file_cluster_data
propagate=0
qualname=cluster_data
[logger_store_data]
level=DEBUG
handlers=screen,file_store_data
propagate=0
qualname=store_data
[logger_streamlit]
level=DEBUG
handlers=screen,file_streamlit
propagate=0
qualname=streamlit
[formatters]
keys=simple,verbose
[formatter_simple]
format=%(asctime)s [%(levelname)s] %(name)s: %(message)s
[formatter_verbose]
format=[%(asctime)s] %(levelname)s [%(filename)s %(name)s %(funcName)s (%(lineno)d)]: %(message)s
[handlers]
keys=screen, file, file_ingest_tweets, file_ingest_reddit, file_tsf_data, file_cluster_data, file_store_data, file_streamlit
[handler_file]
class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=5
formatter=simple
level=DEBUG
args=('logs/root.log',)
[handler_file_ingest_tweets]
class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=5
formatter=simple
level=DEBUG
args=('logs/ingest_tweets.log',)
[handler_file_ingest_reddit]
class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=5
formatter=simple
level=DEBUG
args=('logs/ingest_reddit.log',)
[handler_file_tsf_data]
class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=5
formatter=simple
level=DEBUG
args=('logs/tsf_data.log',)
[handler_file_cluster_data]
class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=5
formatter=simple
level=DEBUG
args=('logs/cluster_data.log',)
[handler_file_store_data]
class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=5
formatter=simple
level=DEBUG
args=('logs/store_data.log',)
[handler_file_streamlit]
class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=5
formatter=simple
level=INFO
args=('logs/streamlit.log',)
[handler_screen]
class=StreamHandler
formatter=simple
level=INFO
args=(sys.stdout,)