source: main/kofacustom.sampleuni/trunk/etc/profile.ini.in @ 15021

Last change on this file since 15021 was 11705, checked in by Henrik Bettermann, 11 years ago

Remove unused ini.in files.

File size: 1.3 KB
RevLine 
[10765]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
9
10[handlers]
11keys = console, accesslog
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[handler_console]
27class = StreamHandler
28args = (sys.stderr,)
29level = NOTSET
30formatter = generic
31
32[handler_accesslog]
33class = FileHandler
34args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
35        'a')
36level = INFO
37formatter = accesslog
38
39[formatter_generic]
40format = %(asctime)s %(levelname)s [%(name)s] %(message)s
41
42[formatter_accesslog]
43format = %(message)s
44
45[filter:translogger]
46use = egg:Paste#translogger
47setup_console_handler = False
48logger_name = wsgi
49
50[filter:profiler]
51use = egg:repoze.profile#profile
52log_filename = kofa.profile
53#cachegrind_filename = cachegrind.out.kofa
54discard_first_request = False
55path = /__profile__
56flush_at_shutdown = False
57
58[app:app]
[11705]59use = egg:kofacustom.sampleuni
[10765]60
61[pipeline:main]
62pipeline = translogger profiler app
63
64[server:main]
65use = egg:Paste#http
66host = ${kofa_params:host}
67port = ${kofa_params:base_port}
68
69[DEFAULT]
70# set the name of the zope.conf file
71zope_conf = %(here)s/zope.conf
72env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Note: See TracBrowser for help on using the repository browser.