f1e675b7a4496059b6f27a8ebb3bbac519e9e2c1
[monitor.git] / web / MonitorWeb / prod.cfg
1 [global]
2 # This is where all of your settings go for your development environment
3 # Settings that are the same for both development and production
4 # (such as template engine, encodings, etc.) all go in
5 # monitorweb/config/app.cfg
6
7 # DATABASE
8
9 # driver://username:password@host:port/database
10
11 # pick the form for your database
12 # sqlalchemy.dburi="postgres://username@hostname/databasename"
13 # sqlalchemy.dburi="mysql://username:password@hostname:port/databasename"
14 # sqlalchemy.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
15
16 # If you have sqlite, here's a simple default to get you started
17 # in development
18 sqlalchemy.dburi="sqlite:///devdata.sqlite"
19
20
21 # SERVER
22
23 # Some server parameters that you may want to tweak
24 # server.socket_port=8080
25
26 # Enable the debug output at the end on pages.
27 # log_debug_info_filter.on = False
28
29 server.environment="development"
30 autoreload.package="monitorweb"
31
32
33 server.socket_host="127.0.0.1"
34 server.socket_port=8080
35 server.webpath="/monitor/"
36 base_url_filter.on = False
37 base_url_filter.base_url = "http://127.0.0.1:8080/monitor"
38 base_url_filter.use_x_forwarded_host = True
39
40 # Auto-Reload after code modification
41 # autoreload.on = True
42
43 # Set to True if you'd like to abort execution if a controller gets an
44 # unexpected parameter. False by default
45 tg.strict_parameters = True
46
47 # LOGGING
48 # Logging configuration generally follows the style of the standard
49 # Python logging module configuration. Note that when specifying
50 # log format messages, you need to use *() for formatting variables.
51 # Deployment independent log configuration is in monitorweb/config/log.cfg
52 [logging]
53
54 [[loggers]]
55 [[[monitorweb]]]
56 level='DEBUG'
57 qualname='monitorweb'
58 handlers=['debug_out']
59
60 [[[allinfo]]]
61 level='INFO'
62 handlers=['debug_out']
63
64 [[[access]]]
65 level='INFO'
66 qualname='turbogears.access'
67 handlers=['access_out']
68 propagate=0
69
70
71 [[[database]]]
72 # Set to INFO to make SQLAlchemy display SQL commands
73 level='ERROR'
74 qualname='sqlalchemy.engine'
75 handlers=['debug_out']
76 propagate=0