~openerp-commiter/openobject-addons/trunk-extra-addons

« back to all changes in this revision

Viewing changes to comparison/website/erpComparator/sample-prod.cfg

account_indian is a branch of the trunk addons
make account_indian up to date with the trunk-extra-addons

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
# erpcomparator/config/app.cfg
 
8
 
 
9
# DATABASE
 
10
 
 
11
# pick the form for your database
 
12
# sqlobject.dburi="postgres://username@hostname/databasename"
 
13
# sqlobject.dburi="mysql://username:password@hostname:port/databasename"
 
14
# sqlobject.dburi="sqlite:///file_name_and_path"
 
15
 
 
16
# If you have sqlite, here's a simple default to get you started
 
17
# in development
 
18
sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
 
19
 
 
20
 
 
21
# if you are using a database or table type without transactions
 
22
# (MySQL default, for example), you should turn off transactions
 
23
# by prepending notrans_ on the uri
 
24
# sqlobject.dburi="notrans_mysql://username:password@hostname:port/databasename"
 
25
 
 
26
# for Windows users, sqlite URIs look like:
 
27
# sqlobject.dburi="sqlite:///drive_letter:/path/to/file"
 
28
 
 
29
 
 
30
# SERVER
 
31
 
 
32
server.environment="production"
 
33
 
 
34
# Sets the number of threads the server uses
 
35
# server.thread_pool = 1
 
36
 
 
37
# if this is part of a larger site, you can set the path
 
38
# to the TurboGears instance here
 
39
# server.webpath=""
 
40
 
 
41
# Set to True if you are deploying your App behind a proxy
 
42
# e.g. Apache using mod_proxy
 
43
# base_url_filter.on = False
 
44
 
 
45
# Set to True if your proxy adds the x_forwarded_host header
 
46
# base_url_filter.use_x_forwarded_host = True
 
47
 
 
48
# If your proxy does not add the x_forwarded_host header, set
 
49
# the following to the *public* host url.
 
50
# (Note: This will be overridden by the use_x_forwarded_host option
 
51
# if it is set to True and the proxy adds the header correctly.
 
52
# base_url_filter.base_url = "http://www.example.com"
 
53
 
 
54
# Set to True if you'd like to abort execution if a controller gets an
 
55
# unexpected parameter. False by default
 
56
# tg.strict_parameters = False
 
57
 
 
58
# LOGGING
 
59
# Logging configuration generally follows the style of the standard
 
60
# Python logging module configuration. Note that when specifying
 
61
# log format messages, you need to use *() for formatting variables.
 
62
# Deployment independent log configuration is in erpcomparator/config/log.cfg
 
63
[logging]
 
64
 
 
65
[[handlers]]
 
66
 
 
67
[[[access_out]]]
 
68
# set the filename as the first argument below
 
69
args="('server.log',)"
 
70
class='FileHandler'
 
71
level='INFO'
 
72
formatter='message_only'
 
73
 
 
74
[[loggers]]
 
75
[[[erpcomparator]]]
 
76
level='ERROR'
 
77
qualname='erpcomparator'
 
78
handlers=['error_out']
 
79
 
 
80
[[[access]]]
 
81
level='INFO'
 
82
qualname='turbogears.access'
 
83
handlers=['access_out']
 
84
propagate=0