thanks Anand,
I don't want repeat request.user.id in all log statements in the view.
I am looking for a generalized way.
--
<<::Regards ::>>
sanup...@gmail.com
+917736579488
___
BangPypers mailing list
BangPypers@python.org
Hi,
I am following django doc
https://docs.djangoproject.com/en/1.9/topics/logging/
I could not find an option to log user_id with log message.
How you guys are doing it ?.
--
<<::Regards ::>>
sanup...@gmail.com
+917736579488
___
>From where you are logging?
If you are logging from view, you can try `request.user.id`.
If you don't have request object, you can store user object somewhere and
log from that.
Regards,
Chillar Anand
www.avilpage.com
On Tue, Jun 14, 2016 at 8:50 PM, Sanu Madhavan wrote:
Hi,
I am following django doc
https://docs.djangoproject.com/en/1.9/topics/logging/
I could not find an option to log user_id with log message.
How you guys are doing it ?.
--
<<::Regards ::>>
sanup...@gmail.com
+917736579488
___
Hi All,
SDN Hackfest : Bangalore, India | July 2, 3 2016
Please find the below event happening in ASM Technologies Ltd, on the 2nd & 3rd
July 2016.
An opportunity to challenge yourself and be rewarded for developing Open Source
SDN software
SDN Hackfest : Work as a team (Dev, UI/UX, Doc) in