Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / development.ini @ 454df3f9

History | View | Annotate | Download (4.47 KB)

1 0931fc44 Thomas BURGUIERE
#
2
# vigigraph - Pylons development environment configuration
3
#
4
# The %(here)s variable will be replaced with the parent directory of this file
5
#
6
# This file is for deployment specific config options -- other configuration
7
# that is always required for the app is done in the config directory, 
8
# and generally should not be modified by end users. 
9
10
[DEFAULT]
11
debug = true
12
# Uncomment and replace with the address which should receive any error reports
13
#email_to = you@yourdomain.com
14
smtp_server = localhost
15
error_email_from = paste@localhost
16
17
[server:main]
18
use = egg:Paste#http
19 4cdb7492 Thomas BURGUIERE
host = 0.0.0.0 
20
port = 8082
21 0931fc44 Thomas BURGUIERE
22
[app:main]
23
use = egg:vigigraph
24 4964dc96 Vincent QUEMENER
25 454df3f9 Francois POIROTTE
db_basename=vigilo_
26
;db_basename=
27
password_hashing_function=md5
28 4964dc96 Vincent QUEMENER
lang=fr
29
use_kerberos=False
30 98c1bcf7 Thomas BURGUIERE
app.vigicore = /
31 0931fc44 Thomas BURGUIERE
32 a01e81cc Francis LAHEUGUERE
# web_path
33
rrd_web_path = /rrdgraph
34
nagios_web_path = /nagios/cgi-bin
35 4964dc96 Vincent QUEMENER
36 d00e5a54 Francis LAHEUGUERE
# Vigigraph - refresh for graphs (en millisecondes)
37
delay_refresh = 30000
38 4964dc96 Vincent QUEMENER
39 462f589e Francois POIROTTE
full_stack = true
40
cache_dir = %(here)s/data
41
beaker.session.key = vigigraph
42
beaker.session.secret = vigilo
43
sa_auth.cookie_secret = vigilo
44
45 0931fc44 Thomas BURGUIERE
# If you'd like to fine-tune the individual locations of the cache data dirs
46
# for the Cache data, or the Session saves, un-comment the desired settings
47
# here:
48
#beaker.cache.data_dir = %(here)s/data/cache
49
#beaker.session.data_dir = %(here)s/data/sessions
50
51
# pick the form for your database
52
# %(here) may include a ':' character on Windows environments; this can
53
# invalidate the URI when specifying a SQLite db via path name
54
# sqlalchemy.url=postgres://username:password@hostname:port/databasename 
55
# sqlalchemy.url=mysql://username:password@hostname:port/databasename
56
57
58
# If you have sqlite, here's a simple default to get you started
59
# in development
60
61 4964dc96 Vincent QUEMENER
sqlalchemy.url=postgres://vigilo:vigilo@localhost/vigilo
62
#sqlalchemy.url = sqlite:///%(here)s/devdata.db
63 0931fc44 Thomas BURGUIERE
#echo shouldn't be used together with the logging module.
64
sqlalchemy.echo = false
65
sqlalchemy.echo_pool = false
66
sqlalchemy.pool_recycle = 3600
67
68
# if you are using Mako and want to be able to reload
69
# the mako template from disk during the development phase
70
# you should say 'true' here
71
# This option is only used for mako templating engine
72
# WARNING: if you want to deploy your application using a zipped egg
73
# (ie: if your application's setup.py defines zip-safe=True, then you
74
# MUST put "false" for the production environment because there will
75
# be no disk and real files to compare time with.
76
# On the contrary if your application defines zip-safe=False and is
77
# deployed in an unzipped manner, then you can leave this option to true
78
templating.mako.reloadfromdisk = true
79
80
# the compiled template dir is a directory that must be readable by your
81
# webserver. It will be used to store the resulting templates once compiled
82
# by the TemplateLookup system.
83
# During development you generally don't need this option since paste's HTTP
84
# server will have access to you development directories, but in production
85
# you'll most certainly want to have apache or nginx to write in a directory
86
# that does not contain any source code in any form for obvious security reasons.
87
#
88
#templating.mako.compiled_templates_dir = /some/dir/where/webserver/has/access
89
90
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
91
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
92
# execute malicious code after an exception is raised.
93
#set debug = false
94
95
# Logging configuration
96
# Add additional loggers, handlers, formatters here
97
# Uses python's logging config file format
98
# http://docs.python.org/lib/logging-config-fileformat.html
99
100
[loggers]
101
keys = root, vigigraph, sqlalchemy, auth
102
103
[handlers]
104
keys = console
105
106
[formatters]
107
keys = generic
108
109
# If you create additional loggers, add them as a key to [loggers]
110
[logger_root]
111
level = INFO
112
handlers = console
113
114
[logger_vigigraph]
115
level = DEBUG
116
handlers =
117
qualname = vigigraph
118
119
[logger_sqlalchemy]
120
level = INFO
121
handlers =
122
qualname = sqlalchemy.engine
123
# "level = INFO" logs SQL queries.
124
# "level = DEBUG" logs SQL queries and results.
125
# "level = WARN" logs neither.  (Recommended for production systems.)
126
127
128
# A logger for authentication, identification and authorization -- this is
129
# repoze.who and repoze.what:
130
[logger_auth]
131
level = WARN
132
handlers = 
133
qualname = auth
134
135
# If you create additional handlers, add them as a key to [handlers]
136
[handler_console]
137
class = StreamHandler
138
args = (sys.stderr,)
139
level = NOTSET
140
formatter = generic
141
142
# If you create additional formatters, add them as a key to [formatters]
143
[formatter_generic]
144
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
145
datefmt = %H:%M:%S