Weird messages in my console

77 views
Skip to first unread message

Mark Phillips

unread,
Oct 26, 2018, 12:31:25 PM10/26/18
to django users
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

Vineet Kothari

unread,
Oct 28, 2018, 7:25:47 PM10/28/18
to django...@googlegroups.com
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. 

--
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...@googlegroups.com.
To post to this group, send email to django...@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.
Reply all
Reply to author
Forward
0 new messages