cmlenz@4: [global] cmlenz@4: # This is where all of your settings go for your production environment. cmlenz@4: # You'll copy this file over to your production server and provide it cmlenz@4: # as a command-line option to your start script. cmlenz@4: # Settings that are the same for both development and production cmlenz@4: # (such as template engine, encodings, etc.) all go in cmlenz@230: # genshitest/config/app.cfg cmlenz@4: cmlenz@4: # pick the form for your database cmlenz@4: # sqlobject.dburi="postgres://username@hostname/databasename" cmlenz@4: # sqlobject.dburi="mysql://username:password@hostname:port/databasename" cmlenz@4: # sqlobject.dburi="sqlite:///file_name_and_path" cmlenz@4: mgood@110: # If you have sqlite, here's a simple default to get you started mgood@110: # in development mgood@110: sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite" mgood@110: mgood@110: cmlenz@4: # if you are using a database or table type without transactions cmlenz@4: # (MySQL default, for example), you should turn off transactions cmlenz@4: # by prepending notrans_ on the uri cmlenz@4: # sqlobject.dburi="notrans_mysql://username:password@hostname:port/databasename" cmlenz@4: cmlenz@4: # for Windows users, sqlite URIs look like: mgood@110: # sqlobject.dburi="sqlite:///drive_letter:/path/to/file" cmlenz@4: cmlenz@4: cmlenz@4: # SERVER cmlenz@4: cmlenz@4: server.environment="production" cmlenz@4: cmlenz@4: # Sets the number of threads the server uses cmlenz@4: # server.thread_pool = 1 cmlenz@4: cmlenz@4: # if this is part of a larger site, you can set the path cmlenz@4: # to the TurboGears instance here cmlenz@4: # server.webpath="" cmlenz@4: cmlenz@4: # Set to True if you'd like to abort execution if a controller gets an cmlenz@4: # unexpected parameter. False by default cmlenz@4: # tg.strict_parameters = False cmlenz@4: cmlenz@4: # LOGGING cmlenz@4: # Logging configuration generally follows the style of the standard cmlenz@4: # Python logging module configuration. Note that when specifying cmlenz@4: # log format messages, you need to use *() for formatting variables. cmlenz@230: # Deployment independent log configuration is in genshitest/config/log.cfg cmlenz@4: [logging] cmlenz@4: cmlenz@4: [[handlers]] cmlenz@4: cmlenz@4: [[[access_out]]] cmlenz@4: # set the filename as the first argument below cmlenz@4: args="('server.log',)" cmlenz@4: class='FileHandler' cmlenz@4: level='INFO' cmlenz@4: formatter='message_only' cmlenz@4: cmlenz@4: [[loggers]] cmlenz@230: [[[genshitest]]] cmlenz@4: level='ERROR' cmlenz@230: qualname='genshitest' cmlenz@4: handlers=['error_out'] cmlenz@4: cmlenz@4: [[[access]]] cmlenz@4: level='INFO' cmlenz@4: qualname='turbogears.access' cmlenz@4: handlers=['access_out'] cmlenz@4: propagate=0