{
    "content": [
        {
            "type": "text",
            "text": "# Log::Log4perl::Config::PropertyConfigurator (perldoc)\n\n**Summary:** Log::Log4perl::Config::PropertyConfigurator - reads properties file\n\n**Synopsis:** # This class is used internally by Log::Log4perl\nuse Log::Log4perl::Config::PropertyConfigurator;\nmy $conf = Log::Log4perl::Config::PropertyConfigurator->new();\n$conf->file(\"l4p.conf\");\n$conf->parse(); # will die() on error\nmy $value = $conf->value(\"log4perl.appender.LOGFILE.filename\");\nif(defined $value) {\nprintf(\"The appender's file name is $value\\n\");\n} else {\nprintf(\"The appender's file name is not defined.\\n\");\n}\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (16 lines)\n- **DESCRIPTION** (12 lines)\n- **SEE ALSO** (8 lines)\n- **LICENSE** (6 lines)\n- **AUTHOR** (20 lines)\n\n## Full Content\n\n### NAME\n\nLog::Log4perl::Config::PropertyConfigurator - reads properties file\n\n### SYNOPSIS\n\n# This class is used internally by Log::Log4perl\n\nuse Log::Log4perl::Config::PropertyConfigurator;\n\nmy $conf = Log::Log4perl::Config::PropertyConfigurator->new();\n$conf->file(\"l4p.conf\");\n$conf->parse(); # will die() on error\n\nmy $value = $conf->value(\"log4perl.appender.LOGFILE.filename\");\n\nif(defined $value) {\nprintf(\"The appender's file name is $value\\n\");\n} else {\nprintf(\"The appender's file name is not defined.\\n\");\n}\n\n### DESCRIPTION\n\nInitializes log4perl from a properties file, stuff like\n\nlog4j.category.a.b.c.d = WARN, A1\nlog4j.category.a.b = INFO, A1\n\nIt also understands variable substitution, the following configuration\nis equivalent to the previous one:\n\nsettings = WARN, A1\nlog4j.category.a.b.c.d = ${settings}\nlog4j.category.a.b = INFO, A1\n\n### SEE ALSO\n\nLog::Log4perl::Config\n\nLog::Log4perl::Config::BaseConfigurator\n\nLog::Log4perl::Config::DOMConfigurator\n\nLog::Log4perl::Config::LDAPConfigurator (tbd!)\n\n### LICENSE\n\nCopyright 2002-2013 by Mike Schilli <m@perlmeister.com> and Kevin Goess\n<cpan@goess.org>.\n\nThis library is free software; you can redistribute it and/or modify it\nunder the same terms as Perl itself.\n\n### AUTHOR\n\nPlease contribute patches to the project on Github:\n\nhttp://github.com/mschilli/log4perl\n\nSend bug reports or requests for enhancements to the authors via our\n\nMAILING LIST (questions, bug reports, suggestions/patches):\nlog4perl-devel@lists.sourceforge.net\n\nAuthors (please contact them via the list above, not directly): Mike\nSchilli <m@perlmeister.com>, Kevin Goess <cpan@goess.org>\n\nContributors (in alphabetical order): Ateeq Altaf, Cory Bennett, Jens\nBerthold, Jeremy Bopp, Hutton Davidson, Chris R. Donnelly, Matisse\nEnzer, Hugh Esco, Anthony Foiani, James FitzGibbon, Carl Franks, Dennis\nGregorovic, Andy Grundman, Paul Harrington, Alexander Hartmaier David\nHull, Robert Jacobson, Jason Kohles, Jeff Macdonald, Markus Peter, Brett\nRann, Peter Rabbitson, Erik Selberg, Aaron Straup Cope, Lars Thegler,\nDavid Viner, Mac Yang.\n\n"
        }
    ],
    "structuredContent": {
        "command": "Log::Log4perl::Config::PropertyConfigurator",
        "section": "",
        "mode": "perldoc",
        "summary": "Log::Log4perl::Config::PropertyConfigurator - reads properties file",
        "synopsis": "# This class is used internally by Log::Log4perl\nuse Log::Log4perl::Config::PropertyConfigurator;\nmy $conf = Log::Log4perl::Config::PropertyConfigurator->new();\n$conf->file(\"l4p.conf\");\n$conf->parse(); # will die() on error\nmy $value = $conf->value(\"log4perl.appender.LOGFILE.filename\");\nif(defined $value) {\nprintf(\"The appender's file name is $value\\n\");\n} else {\nprintf(\"The appender's file name is not defined.\\n\");\n}",
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 20,
                "subsections": []
            }
        ]
    }
}