forked from alessandrodd/api_key_detector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog_config.json
More file actions
31 lines (31 loc) · 701 Bytes
/
log_config.json
File metadata and controls
31 lines (31 loc) · 701 Bytes
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
{
"logging": {
"version": 1,
"formatters": {
"f": {
"format": "%(asctime)s %(name)-4s %(levelname)-4s %(message)s",
"datefmt": "%m-%d %H:%M"
}
},
"handlers": {
"log_file_handler": {
"class": "logging.FileHandler",
"formatter": "f",
"filename": "api_key_detector.log",
"mode": "a",
"encoding": "utf-8"
},
"console_handler": {
"class": "logging.StreamHandler",
"formatter": "f"
}
},
"root": {
"handlers": [
"log_file_handler",
"console_handler"
],
"level": "INFO"
}
}
}