On Oct 12, 9:42 pm, Peng Yu <pengyu...@gmail.com> wrote: > Hi, > > The following attributes does not include the class name. Is there a > way to add class name to the format string? Thanks!
Not in the general case without a reasonable run-time cost. Since you can find the exact line number a logging call was made from, you can always figure out the class. Regards, Vinay Sajip -- http://mail.python.org/mailman/listinfo/python-list