def log_debug(self, *args, **kw):
        log_msgs[self.caller_mod + "--" + args[0]] += 1
        if self.trace_mod or _log_level >= 1:
            import gevent  # for getcurrent
            try:
                msg = apply(args[0].format, tuple(args[1:]))
                print >> the_file, "%s %s D (%s):%s" % (datetime.now().strftime("%d/%H:%M:%S.%f"),
                                                        self.caller_mod, id(gevent.getcurrent()),
                                                        self.tag), msg
            except:
                log_failure(args[0])
Log only with -d
dataset/ETHPy150Open paypal/support/support/ll.py/LLogger.log_debug