On Jan 27, 2009, at 9:28 PM, Thomas Guettler wrote:

>
> Rama schrieb:
>> please look at the below logging.conf file.
>> ...
>> can any one  guide me on how to avoid hardcoding of log file path ?
>>
>>
> Hi,
>
> I am not a logging expert, maybe there is a solution, but if you
> do your setup with python code, you can use e.g. os.environ['HOME'] or
> settings.FOO.

This last (specifying a logfile in settings.py) has always worked very  
nicely for me.

E



> I never used a logging.conf file.
>
> HTH,
>  Thomas
>
> BTW: This is a pure python question. You get more and better answers
> on the newsgroup comp.lang.python.
>
>
>
> -- 
> Thomas Guettler, http://www.thomas-guettler.de/
> E-Mail: guettli (*) thomas-guettler + de
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to