This file is indexed.

/usr/include/log4shib/SimpleConfigurator.hh is in liblog4shib-dev 1.0.9-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * SimpleConfigurator.hh
 *
 * Copyright 2001, Glen Scott. All rights reserved.
 *
 * See the COPYING file for the terms of usage and distribution.
 */
#ifndef _LOG4SHIB_SIMPLECONFIGURATOR_HH
#define _LOG4SHIB_SIMPLECONFIGURATOR_HH

#include <log4shib/Portability.hh>
#include <iostream>
#include <string>
#include <log4shib/Configurator.hh>

namespace log4shib {

    /**
     * This class implements a simple Configurator for log4shib.
     * It is a temporary hack with an undocumented configuration format.
     * @deprecated As of version 0.3.2 log4shib includes a log4j format 
     * compatible PropertyConfigurator, removing the need for 
     * SimpleConfigurator. This class will be removed in 0.4.0.
     **/
    class LOG4SHIB_EXPORT SimpleConfigurator {
    public:

        /**
         * Configure log4shib with the configuration in the given file.
         * NB. The configuration file format is undocumented and may change
         * without notice.
         * @since 0.2.6
         * @param initFileName name of the configuration file
         * @exception ConfigureFailure if the method encountered a read or 
         * syntax error.
         **/
        static void configure(const std::string& initFileName) throw (ConfigureFailure);

        /**
         * Configure log4shib with the configuration in the given file.
         * NB. The configuration file format is undocumented and may change
         * without notice.
         * @since 0.3.1
         * @param initFile an input stream to the configuration file
         * @exception ConfigureFailure if the method encountered a read or 
         * syntax error.
         **/
        static void configure(std::istream& initFile) throw (ConfigureFailure);    };
}

#endif