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

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to