How can I access log production server?

54 views
Skip to first unread message

Arruda

unread,
Apr 6, 2012, 6:04:04 PM4/6/12
to django...@googlegroups.com
Hi there, I'm using nginx and fastcgi(using threaded method) to run a django project, but when another thread start I get some erros.
But I don't know if this is a thread problem or a db problem or what... But wanted to know if there is someway to get log from the production server.
When I use runserver I get to see the log in the console, but in production where do I get all that info? like exceptions, requests and other stuff?
Do I need to configure the logging api? but how? I'm ok(even better) to see the log in the console, is there a way?
Thanks

Ejah

unread,
Apr 7, 2012, 2:36:44 AM4/7/12
to Django users
You can set your logging params at the bottom of your settings.py
file. Here you can determine when, how and where django will log.
Hth

Arruda

unread,
Apr 7, 2012, 1:59:17 PM4/7/12
to django...@googlegroups.com
Thanks for clarifying me that Ejah, but I already have it configured(got from a friend project).
But after reading the docs for it, I still can't understand how to do it look like the runserver command.
Could you give me some example, please?
Thanks
Reply all
Reply to author
Forward
0 new messages