'Return the log tag for the alert.'

def get_limit_log(self, stat_name, default_action=False):

    try:
        log_tag = self._limits[(stat_name + '_log')]
    except KeyError:
        try:
            log_tag = self._limits[(self.plugin_name + '_log')]
        except KeyError:
            return default_action
    return (log_tag[0].lower() == 'true')
