>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 <sanup...@gmail.com> 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 > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers