forked from yagajs/docker-mapproxy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlog.ini
45 lines (36 loc) · 811 Bytes
/
log.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
#
# CRITICAL 50
# ERROR 40
# WARNING 30
# INFO 20
# DEBUG 10
# NOTSET
[loggers]
keys=root,source_requests
[handlers]
keys=mapproxy,source_requests
[formatters]
keys=default,requests
[logger_root]
level=DEBUG
handlers=mapproxy
[logger_source_requests]
level=DEBUG
qualname=mapproxy.source.request
# propagate=0 -> do not show up in logger_root
propagate=0
handlers=source_requests
[handler_mapproxy]
class=FileHandler
formatter=default
# args=(r"%(here)s/mapproxy.log", "a")
args=('/mapproxy_log/client.log','a')
[handler_source_requests]
class=FileHandler
formatter=requests
# args=(r"%(here)s/source-requests.log", "a")
args=('/mapproxy_log/source-requests.log','a')
[formatter_default]
format=%(asctime)s - %(levelname)s - %(name)s - %(message)s
[formatter_requests]
format=[%(asctime)s] %(message)s