Sunday, October 28, 2018

Re: Weird messages in my console

As admin is abstracted a lot how will you able to make out man. Try to understand find these name by doing find all then maybe if some print statement is outputting them you may find it. 

On Fri 26 Oct, 2018, 10:00 PM Mark Phillips, <mark@phillipsmarketing.biz> wrote:
I am building a django 2.0 application, and I have noticed some strange output in my console when I use runserver. I use logging a lot to follow what is happening in my code as I write it, so there are a lot of logging messages in the console. However, these weird messages do not have the same format as the logging messages.

normal log message:
[2018-10-26 09:16:38] DEBUG [memorabilia.admin.search_metadata:86] search_metadata END - , Document

weird messages:
date_hierarchy cl=%s created
link=%s ?
link=%s ?created__month=5&created__year=2018
link=%s ?created__month=6&created__year=2018
link=%s ?created__month=10&created__year=2018

From the flow in the console messages, they come from one of my Admin classes. I cannot find anything like these messages in that Admin class. At first, I thought they were some old print statements left over before I started using logging, but I have grep'ed for any print statements in my entire code base, and there are not any. They look a little like urls, but there are not print statements in my urls.py files. I also grep'ed for parts of these strings and the whole strings, and they are not in any of my files.

I am stumped on how to track down these strange messages.

Thanks for any help you can provide!

Mark

--
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/CAEqej2P2MTKFTLk%2Bs8LSAmPCpAWwb%3DMAzP47Xc9iL_oPyiEvmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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/CAAcansvXktS5gj9aNE0LkWRV_1pc0%3DFUCow031hvPVE%2BNCqbFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment