def METHOD_NAME(request):
    logging.info("##### {0} start#####".format(
                                                request.function.__name__))
    def fin():
        logging.info("##### {0} done#####".format(
                                                    request.function.__name__))
    request.addfinalizer(fin)