# # mpulsweb - Pylons development environment configuration # # The %(here)s variable will be replaced with the parent directory of this file # [DEFAULT] debug = True #locale = # Uncomment and replace with the address which should receive any error reports #email_to = you@yourdomain.com smtp_server = localhost error_email_from = paste@localhost # set this to 'false' if you do not want the application # to handle static content. serve_static = true # Name of the application mpuls.app.title = "MPULS" mpuls.app.name = "Default application Name" # You can provide a user specific configuration for the mpuls server. mpuls.app.root=%(here)s # Where is the config file for this application. Config is used to define # which moduls are enabled or which phases are present. mpuls.app.config=%(here)s/default_config.json mpuls.app.dbmapping=%(here)s/default_dbmapping.json mpuls.app.dblist=%(here)s/default_dblist.json mpuls.app.tagging=%(here)s/default_tagging.xml # What is the name of the application instance. This is the name of the # directory containing the instance specific controller, templates and model. mpuls.app.instance=mpulsweb # Which controller should be the entry point of the appliction? mpuls.app.indexcontroller=mpuls # installation specific search paths mpuls.app.path=%(mpuls.app.root)s/%(mpuls.app.instance)s mpuls.app.path.public = %(mpuls.app.path)s/public mpuls.app.path.controllers = %(mpuls.app.path)s/controllers mpuls.app.path.templates = %(mpuls.app.path)s/templates mpuls.app.path.formed=%(mpuls.app.path.public)s/formed #mpuls.app.path.i18n = #mpuls.app.path.addons = # for connections to PostgeSQL database # db_database: %s will be replaced by certificate value #mpuls.db.host = 127.0.0.1 mpuls.db.host = localhost mpuls.db.port = 5432 # Define fallback name of the database if fetching name from # SSL_CLIENT_S_DN_CN in ssl certificte fails. mpuls.db.name = testdb mpuls.db.database = ka_%s_db # db_user: first %s -> database name, second %s -> user mpuls.db.user = ka_%s_%s # # Meta Server Parameters # Only need to be set if meta server is to be used # # host/port #mpuls.meta.host = localhost #mpuls.meta.port = 6000 # meta server SSL options # for testing or development, mpuls.meta.ssl.enabled may be set to false # in which case the other ssl parameters are optional. #mpuls.meta.ssl.enabled = true #mpuls.meta.ssl.client_cert = %(here)s/ssl/client-cert.pem #mpuls.meta.ssl.client_key = %(here)s/ssl/client.key #mpuls.meta.ssl.cacerts = %(here)s/ssl/cacerts.pem # filename of the XSLT script that converts the XML representation of # the project's data to the XML representation sent to the meta server. #mpuls.meta.converter = %(mpuls.app.path.public)s/formed/convert-meta.xsl [server:main] use = egg:Paste#http host = 127.0.0.1 port = 5000 #ssl_pem = * [app:main] use = egg:mpulsweb lang = de full_stack = true cache_dir = %(here)s/data beaker.session.key = mpulsweb beaker.session.secret = somesecret beaker.session.timeout = 1800 #beaker.session.type = memory #beaker.session.invalidate_corrupt = True # If you'd like to fine-tune the individual locations of the cache data dirs # for the Cache data, or the Session saves, un-comment the desired settings # here: #beaker.cache.data_dir = %(here)s/data/cache #beaker.session.data_dir = %(here)s/data/sessions # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* # Debug mode will enable the interactive debugging tool, allowing ANYONE to # execute malicious code after an exception is raised. #set debug = false # Logging configuration [loggers] keys = root, libmpuls, mpulsweb [handlers] keys = console, file [formatters] keys = generic [logger_root] level = INFO # add ", file" to handlers to activate logging into the file configured # in the handler_file section handlers = console [logger_libmpuls] level = INFO handlers = qualname = libmpuls [logger_mpulsweb] level = DEBUG handlers = qualname = mpulsweb [handler_console] class = mpulsweb.lib.logfilter.FilteredHandler args = (StreamHandler, sys.stderr) level = NOTSET formatter = generic [handler_file] class = mpulsweb.lib.logfilter.FilteredHandler # Third parameter in args is maximum size of the log file in bytes. # Fourth parameter specifies the number of old files to keep. args = (logging.handlers.RotatingFileHandler, 'mpuls.log', 'w', 1048576, 5) level = NOTSET formatter = generic [formatter_generic] format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(mpuls_dbname)s] [%(name)s] %(message)s datefmt = %Y-%m-%d %H:%M:%S