On Wed, Nov 10, 2010 at 1:28 PM, [email protected]
<[email protected]> wrote:
> I setup my pylons app to run with FastCGI on my shared host,
> Hostmonster. However, for the life of me, I cannot get logging to
> work. Any help is appreciated.

Logging is initialized by "paster serve".  Does FastCGI go through
"paster serve"? (Some protocols don't, such as mod_wsgi.) If you want
logging in that case, you'd have to enable it in environment.py by
calling ``logging.config.fileConfig(filename)``. You would probably
want to use a separate logging INI in that case, otherwise it would be
double-configured when you do use "paster serve", and you may get log
messages duplicated.

-- 
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