Hi Wichert,
I've been making use of your modwsgi buildout recipe for sometime now - thanks
:) ... but have been wondering about the best way to integrate logging
capability into the WSGI script that's generated. Looking at:
http://groups.google.com/group/pylons-discuss/browse_thread/thread/9b9add4529b3779c?pli=1
I can do something like this to enable the logging configuration to be picked
up from my ini file:
from paste.deploy import loadapp
from paste.script.util.logging_config import fileConfig
configFilePath = "/usr/local/myapp/etc/myapp.ini"
fileConfig(configFilePath)
application = loadapp("config:"+configFilePath)
In your buildout recipe code I could override the default WRAPPER_TEMPLATE or
is there a way I could do it via an option in my buildout config?
Cheers,
Phil
--
Scanned by iCritical.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---