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