-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogging.ini
More file actions
44 lines (35 loc) · 855 Bytes
/
logging.ini
File metadata and controls
44 lines (35 loc) · 855 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
32
33
34
35
36
37
38
39
40
41
42
43
44
[loggers]
keys=root, dataExtract, flaskApp
[handlers]
keys=rootHandler, logHandler, flaskLogger
[formatters]
keys=simpleFormatter
[logger_root]
level=DEBUG
handlers=rootHandler
[logger_dataExtract]
level=DEBUG
handlers=logHandler
qualname=dataExtract
[logger_flaskApp]
level=DEBUG
handlers=flaskLogger
qualname=flaskApp
[handler_rootHandler]
class=logging.handlers.RotatingFileHandler
level=DEBUG
formatter=simpleFormatter
args=('logs/app.log', 'a', 1000000, 5)
[handler_logHandler]
class=logging.handlers.RotatingFileHandler
level=DEBUG
formatter=simpleFormatter
args=('logs/jobs.log', 'a', 1000000, 5)
[handler_flaskLogger]
class=logging.handlers.RotatingFileHandler
level=DEBUG
formatter=simpleFormatter
args=('./logs/flask.log', 'a', 1000000, 5)
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=