please look at the below logging.conf file. http://dpaste.com/hold/113443/
For RotatingFileHandler [handler_rfileHandler] i have hard coded the log file path as "/home/rama/djangoprojects/doloto/logs/logs.txt" how to avoid such hard coding of log file path in the logging.conf file. 1) i have tried using ./logs/logs.txt a. It is working well whenever iam using the (python manage.py runserver ) b. but it is not working whenever i run a standalone python script which uses django module which in turn uses this logging configuration. can any one guide me on how to avoid hardcoding of log file path ? -rama --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---