~jfb-tempo-consulting/unifield-web/US-9592

« back to all changes in this revision

Viewing changes to default.cfg

  • Committer: Amit Mendapara
  • Date: 2008-01-01 03:10:28 UTC
  • Revision ID: ame@tinyerp.com-e6de3f53db52a3b7d432addb20f6e5d14b41d235
* Using an entry point scripts for project start scripts (see TG-1.0.4b3).
* Changes the way eTiny loads default configuration.
* `Tiny ERP server` configuration settings have been moved to default.cfg/dev.cfg.

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
 
 
4
# SERVER
 
5
 
 
6
# server.socket_port=8080
 
7
 
 
8
server.environment="production"
 
9
 
 
10
# Sets the number of threads the server uses
 
11
# server.thread_pool = 1
 
12
 
 
13
# if this is part of a larger site, you can set the path
 
14
# to the TurboGears instance here
 
15
# server.webpath=""
 
16
 
 
17
# Set to True if you are deploying your App behind a proxy
 
18
# e.g. Apache using mod_proxy
 
19
# base_url_filter.on = False
 
20
 
 
21
# Set to True if your proxy adds the x_forwarded_host header
 
22
# base_url_filter.use_x_forwarded_host = True
 
23
 
 
24
# If your proxy does not add the x_forwarded_host header, set
 
25
# the following to the *public* host url.
 
26
# (Note: This will be overridden by the use_x_forwarded_host option
 
27
# if it is set to True and the proxy adds the header correctly.
 
28
# base_url_filter.base_url = "http://www.example.com"
 
29
 
 
30
# Set to True if you'd like to abort execution if a controller gets an
 
31
# unexpected parameter. False by default
 
32
# tg.strict_parameters = False
 
33
 
 
34
# Tiny ERP SERVER
 
35
[tinyerp]
 
36
host = 'localhost'
 
37
port = '8070'
 
38
protocol = 'socket'
 
39
 
 
40
# eTiny admin password (TODO: v1.1)
 
41
[etiny]
 
42
passwd = ''
 
43
 
 
44
# LOGGING
 
45
# Logging configuration generally follows the style of the standard
 
46
# Python logging module configuration. Note that when specifying
 
47
# log format messages, you need to use *() for formatting variables.
 
48
# Deployment independent log configuration is in tinyerp/config/log.cfg
 
49
[logging]
 
50
 
 
51
[[handlers]]
 
52
 
 
53
[[[access_out]]]
 
54
# set the filename as the first argument below
 
55
args="('server.log',)"
 
56
class='FileHandler'
 
57
level='INFO'
 
58
formatter='message_only'
 
59
 
 
60
[[loggers]]
 
61
[[[tinyerp]]]
 
62
level='ERROR'
 
63
qualname='tinyerp'
 
64
handlers=['error_out']
 
65
 
 
66
[[[access]]]
 
67
level='INFO'
 
68
qualname='turbogears.access'
 
69
handlers=['access_out']
 
70
propagate=0