summaryrefslogtreecommitdiffstats
path: root/filters/cluster/logging/__init__.py
blob: e72bd6a9f5f994856686f025c8734c31d3b6b770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- coding: UTF-8 -*-
# Copyright 2014 Red Hat, Inc.
# Part of clufter project
# Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt)

ccs2needlexml = '''\
    <logging>
        <xsl:copy-of select="@*[
            contains(concat(
                '|debug',
                '|logfile',
                '|logfile_priority',
                '|syslog_facility',
                '|syslog_priority',
                '|to_logfile',
                '|to_syslog',
                '|'), concat('|', name(), '|')
            )
        ]"/>
        <!-- XXX: the latter match (if any) should overwrite the former -->
        <clufter:descent at="logging_daemon"/>
    </logging>
'''