{
    "mode": "perldoc",
    "parameter": "Log::Log4perl::Config::PropertyConfigurator",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Log%3A%3ALog4perl%3A%3AConfig%3A%3APropertyConfigurator/json",
    "generated": "2026-05-30T16:09:17Z",
    "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}",
    "sections": {
        "NAME": {
            "content": "Log::Log4perl::Config::PropertyConfigurator - reads properties file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "# 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",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Initializes 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",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Log::Log4perl::Config\n\nLog::Log4perl::Config::BaseConfigurator\n\nLog::Log4perl::Config::DOMConfigurator\n\nLog::Log4perl::Config::LDAPConfigurator (tbd!)\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "Copyright 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",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Please 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",
            "subsections": []
        }
    },
    "summary": "Log::Log4perl::Config::PropertyConfigurator - reads properties file",
    "flags": [],
    "examples": [],
    "see_also": []
}