My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when run
under 'paster shell', but it moves to
CONFIG['app_conf']['sqlalchemy.echo_pool'] under 'paster serve'.  Yet
myapp/config/middleware.py contains:

def make_app(global_conf, full_stack=True, **app_conf):
    # Setup the Paste CONFIG object, adding app_conf/global_conf for legacy code
    conf = global_conf.copy()
    conf.update(app_conf)
    conf.update(dict(app_conf=app_conf, global_conf=global_conf))
    CONFIG.push_process_config(conf)

which I thought was the latest way to do it.  I noticed an entry in
the Pylons CHANGELOG about fixing this for 'paster shell', but that's
the opposite of the problem I'm having.
http://pylonshq.com/project/pylonshq/ticket/244

Also, in my production error log, tracebacks are being dumped without
any timestamp, 'print' output doesn't appear (nor print >>sys.stderr),
and the log file is being deleted and overwritten every time the
server starts. How can I fix these?  I'm running with the Paster
daemonizer and logfile setting, via an executable production.ini.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to