source: main/waeup.kofa/branches/uli-zc-async/etc/profile.ini.in @ 10059

Last change on this file since 10059 was 9211, checked in by uli, 12 years ago

Rollback r9209. Looks like multiple merges from trunk confuse svn when merging back into trunk.

File size: 1.7 KB
Line 
1# profile.ini
2#
3# Profiling configuration for use with paster/WSGI
4#
5# Call http://localhost:8080/__profile__ to see the profiler in action
6
7[loggers]
8keys = root, wsgi, async, async_trace
9
10[handlers]
11keys = console, accesslog, asynclog, async_tracelog
12
13[formatters]
14keys = generic, accesslog
15
16[logger_root]
17level = INFO
18handlers = console
19
20[logger_wsgi]
21level = INFO
22handlers = accesslog
23qualname = wsgi
24propagate = 0
25
26[logger_async]
27level = INFO
28handlers = asynclog
29qualname = zc.async
30propagate = 0
31
32[logger_async_trace]
33level = INFO
34handlers = async_tracelog
35qualname = zc.async.trace
36propagate = 0
37
38[handler_console]
39class = StreamHandler
40args = (sys.stderr,)
41level = NOTSET
42formatter = generic
43
44[handler_accesslog]
45class = FileHandler
46args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
47        'a')
48level = INFO
49formatter = accesslog
50
51[handler_asynclog]
52class = FileHandler
53args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'),
54        'a')
55level = INFO
56formatter = generic
57
58[handler_async_tracelog]
59class = FileHandler
60args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'),
61        'a')
62level = INFO
63formatter = generic
64
65[formatter_generic]
66format = %(asctime)s %(levelname)s [%(name)s] %(message)s
67
68[formatter_accesslog]
69format = %(message)s
70
71[filter:translogger]
72use = egg:Paste#translogger
73setup_console_handler = False
74logger_name = wsgi
75
76[filter:profiler]
77use = egg:repoze.profile#profile
78
79[app:app]
80use = egg:waeup.kofa
81
82[pipeline:main]
83pipeline = translogger profiler app
84
85[server:main]
86use = egg:Paste#http
87host = ${kofa_params:host}
88port = ${kofa_params:base_port}
89
90[DEFAULT]
91# set the name of the zope.conf file
92zope_conf = %(here)s/zope.conf
93env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Note: See TracBrowser for help on using the repository browser.