def METHOD_NAME(self):
    """Run logparser command."""
    path = os.path.join(
        os.path.dirname(__file__), "mail.log")
    with open(path) as fp:
        content = fp.read() % {
            "day": datetime.date.today().strftime("%b %d")}
    path = os.path.join(self.workdir, "mail.log")
    with open(path, "w") as fp:
        fp.write(content)
    self.set_global_parameter("logfile", path)
    call_command("logparser")