On Wed, Jun 23, 2010 at 8:07 PM, Peng Yu <pengyu...@gmail.com> wrote:
> I tried to put the above code in a module. Say in a.b.__init__.py > > %(module)s only print to "__init__". However, I need the fullname > a.b.__init__. I looked at the manual, but I don't see what format > string I should supply. Would you please let me know? If you look at the manual you'll find: http://docs.python.org/library/logging.html#formatter To which %(pathname)s appears to be what you're looking for. --S
-- http://mail.python.org/mailman/listinfo/python-list