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 <gufym...@gmail.com> wrote: > 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 messages into my log file on a daily basis instead > of > > redirecting to screen. > > > > Regards, > > Lokesh > > > you would set up the file access similar to using the python logging module > [1] > > import logging > logging.FileHandler('myfile') > > > > Mike > > [1] > > http://www.mechanicalcat.net/richard/log/Python/Simple_usage_of_Python_s_logging_module > > This is also linked on django-logging's overview page. > > -- > "Hard work now leads to less work full stop" > > - Alan Cox > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---