# # mpulsweb - Pylons development environment configuration # # The %(here)s variable will be replaced with the parent directory of this file # [DEFAULT] debug = True # 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.port = 5432 # Define fallback name of the database if fetching name from # SSL_CLIENT_S_DN_CN in ssl certificte fails. mpuls.db.name = mydb mpuls.db.database = ka_%s_db # db_user: first %s -> database name, second %s -> user mpuls.db.user = ka_%s_%s [server:main] use = egg:Paste#http host = 0.0.0.0 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, 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_mpulsweb] level = DEBUG handlers = qualname = mpulsweb [handler_console] class = StreamHandler args = (sys.stderr,) level = NOTSET formatter = generic [handler_file] class = logging.handlers.RotatingFileHandler # Third parameter in args is maximum size of the log file in bytes. # Fourth parameter specifies the number of old files to keep. args=('mpuls.log', 'w', 1048576, 5) level = NOTSET formatter = generic [formatter_generic] format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s datefmt = %Y-%m-%d %H:%M:%S