Re: Logging mechanism in Django

2009-10-12 Thread Robert Mela
If you're running standalone WSGI you could pipe output to Apache's rotatelogs or to cronolog. There may be other generic log rotation subprocesses you can use. They're very reliable. For a straight WSGI server I wrote a logging handler to synchronize logging between threads & processes, wh

Re: Logging mechanism in Django

2009-08-18 Thread slafs
Hi! Found this about django-logging also... http://ericholscher.com/blog/2008/aug/29/screencast-2-logging-fun-and-profit/ Regards On Aug 18, 12:30 am, Rafael Ferreira wrote: > the problem is that logging to a file is not going to work in a multiprocess > environment. I'm using the logging lib

Re: Logging mechanism in Django

2009-08-17 Thread Rafael Ferreira
the problem is that logging to a file is not going to work in a multiprocess environment. I'm using the logging library configured to log to syslog with fcgi and it is working out quite well. On Mon, Aug 17, 2009 at 11:10 AM, Mike Ramirez wrote: > On Monday 17 August 2009 10:24:18 am Lokesh Mare

Re: Logging mechanism in Django

2009-08-17 Thread Mike Ramirez
On Monday 17 August 2009 10:24:18 am Lokesh Maremalla wrote: > Hi, > > Included django-logging as described in the link. > > From the django-logging I can view the log messages on the screen at run > time. But, I am not sure on saving the log messages from django-logging. > Can I capture the log me

Re: Logging mechanism in Django

2009-08-17 Thread Lokesh Maremalla
Hi, Included django-logging as described in the link. >From the django-logging I can view the log messages on the screen at run time. But, I am not sure on saving the log messages from django-logging. Can I capture the log messages into my log file on a daily basis instead of redirecting to scree

Re: Logging mechanism in Django

2009-08-17 Thread Mike Ramirez
On Monday 17 August 2009 07:56:48 am Lokesh wrote: > Hi, > > I am trying to implement the logging (Code flow tracking) for my > Django application. > I would like to store the log messages on daily basis for my > applications. > > Need help or suggestions on how we can implement the logging mechani

Re: Logging mechanism in Django

2009-08-17 Thread Joshua Russo
On Mon, Aug 17, 2009 at 2:17 PM, Lokesh wrote: > I am trying to implement logging mechanism using Python library. But, > I am not sure on which mechanism/methodology used for Django > applications. > > Is there any predefined process or methodology to be followed for > Django applications for log

Re: Logging mechanism in Django

2009-08-17 Thread Lokesh
Hi, I am trying to implement logging mechanism using Python library. But, I am not sure on which mechanism/methodology used for Django applications. Is there any predefined process or methodology to be followed for Django applications for logging mechanism. Regards, Lokesh On Aug 17, 8:05 pm,

Re: Logging mechanism in Django

2009-08-17 Thread Joshua Russo
On Mon, Aug 17, 2009 at 1:56 PM, Lokesh wrote: > > I am trying to implement the logging (Code flow tracking) for my > Django application. > I would like to store the log messages on daily basis for my > applications. > > Need help or suggestions on how we can implement the logging mechanism > for

Logging mechanism in Django

2009-08-17 Thread Lokesh
Hi, I am trying to implement the logging (Code flow tracking) for my Django application. I would like to store the log messages on daily basis for my applications. Need help or suggestions on how we can implement the logging mechanism for an application. Regards, Lokesh --~--~-~--~~