Entry point for rpc server, view templates, rss feeds of node down times,
[monitor.git] / web / MonitorWeb / sample-prod.cfg
1 [global]
2 # This is where all of your settings go for your production environment.
3 # You'll copy this file over to your production server and provide it
4 # as a command-line option to your start script.
5 # Settings that are the same for both development and production
6 # (such as template engine, encodings, etc.) all go in 
7 # monitorweb/config/app.cfg
8
9 # DATABASE
10
11 # driver://username:password@host:port/database
12
13 # pick the form for your database
14 # sqlalchemy.dburi="postgres://username@hostname/databasename"
15 # sqlalchemy.dburi="mysql://username:password@hostname:port/databasename"
16 # sqlalchemy.dburi="sqlite:///file_name_and_path"
17
18 # If you have sqlite, here's a simple default to get you started
19 # in development
20 sqlalchemy.dburi="sqlite:///%(current_dir_uri)s/devdata.sqlite"
21
22
23 # SERVER
24
25 server.environment="production"
26
27 # Sets the number of threads the server uses
28 # server.thread_pool = 1
29
30 # if this is part of a larger site, you can set the path
31 # to the TurboGears instance here
32 # server.webpath=""
33
34 # Set to True if you are deploying your App behind a proxy
35 # e.g. Apache using mod_proxy
36 # base_url_filter.on = False
37
38 # Set to True if your proxy adds the x_forwarded_host header
39 # base_url_filter.use_x_forwarded_host = True
40
41 # If your proxy does not add the x_forwarded_host header, set
42 # the following to the *public* host url.
43 # (Note: This will be overridden by the use_x_forwarded_host option
44 # if it is set to True and the proxy adds the header correctly.
45 # base_url_filter.base_url = "http://www.example.com"
46
47 # Set to True if you'd like to abort execution if a controller gets an
48 # unexpected parameter. False by default
49 # tg.strict_parameters = False
50
51 # LOGGING
52 # Logging configuration generally follows the style of the standard
53 # Python logging module configuration. Note that when specifying
54 # log format messages, you need to use *() for formatting variables.
55 # Deployment independent log configuration is in monitorweb/config/log.cfg
56 [logging]
57
58 [[handlers]]
59
60 [[[access_out]]]
61 # set the filename as the first argument below
62 args="('server.log',)"
63 class='FileHandler'
64 level='INFO'
65 formatter='message_only'
66
67 [[loggers]]
68 [[[monitorweb]]]
69 level='ERROR'
70 qualname='monitorweb'
71 handlers=['error_out']
72
73 [[[access]]]
74 level='INFO'
75 qualname='turbogears.access'
76 handlers=['access_out']
77 propagate=0