Saturday, January 23, 2016

Re: use django logging from outside


On Jan 20, 2016 2:35 AM, "Det S. Pillner" <silver0346@gmail.com> wrote:
>
> Hi all,
>
> I work on a django project. I use very heavy logging in this project. Some parts of code needs to start over a cron job outside of the django project. In this - I call it modules - I try to use my existing django logging config. Code execution displays no errors bud there are no logging entries.
>
> Can somebody help to fix my problem?
>

Are you bring in your entire Django environment via a django.setup() call, or are you simply trying to import the logging configuration that is being used by your Django project?

Without some explanation of what you've tried, I don't think we have enough information to help.

-James

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciXQyLvuAGM3LnXOCVmSZ%3DPfQy4PWr_jRbsszF%2BcMVF%3DvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment