|
static spi::ConfigurationStatus | configure (const char *filename) |
| A static version of doConfigure.
|
|
static spi::ConfigurationStatus | configure (const std::string &filename) |
| A static version of doConfigure.
|
|
static spi::ConfigurationStatus | configure (const wchar_t *filename) |
| A static version of doConfigure.
|
|
static spi::ConfigurationStatus | configure (const std::wstring &filename) |
| A static version of doConfigure.
|
|
static spi::ConfigurationStatus | configure (const std::basic_string< UniChar > &filename) |
| A static version of doConfigure.
|
|
static spi::ConfigurationStatus | configure (const CFStringRef &filename) |
| A static version of doConfigure.
|
|
static spi::ConfigurationStatus | configureAndWatch (const std::string &configFilename) |
| Like configureAndWatch(const File& filename, long delay) except that the default delay as defined by log4cxx::helpers::FileWatchdog::DEFAULT_DELAY is used.
|
|
static spi::ConfigurationStatus | configureAndWatch (const std::wstring &configFilename) |
| Like configureAndWatch(const File& filename, long delay) except that the default delay as defined by log4cxx::helpers::FileWatchdog::DEFAULT_DELAY is used.
|
|
static spi::ConfigurationStatus | configureAndWatch (const std::basic_string< UniChar > &configFilename) |
| Like configureAndWatch(const File& filename, long delay) except that the default delay as defined by log4cxx::helpers::FileWatchdog::DEFAULT_DELAY is used.
|
|
static spi::ConfigurationStatus | configureAndWatch (const CFStringRef &configFilename) |
| Like configureAndWatch(const File& filename, long delay) except that the default delay as defined by log4cxx::helpers::FileWatchdog::DEFAULT_DELAY is used.
|
|
static spi::ConfigurationStatus | configureAndWatch (const std::string &configFilename, long delay) |
| Read the configuration file configFilename if it exists.
|
|
static spi::ConfigurationStatus | configureAndWatch (const std::wstring &configFilename, long delay) |
| Refer configureAndWatch(const File& filename, long delay)
|
|
static spi::ConfigurationStatus | configureAndWatch (const std::basic_string< UniChar > &configFilename, long delay) |
| Refer configureAndWatch(const File& filename, long delay)
|
|
static spi::ConfigurationStatus | configureAndWatch (const CFStringRef &configFilename, long delay) |
| Refer configureAndWatch(const File& filename, long delay)
|
|
static spi::ConfigurationStatus | configure (const File &configFilename) |
| Read configuration options from configFilename .
|
|
static spi::ConfigurationStatus | configureAndWatch (const File &configFilename, long delay=0) |
| Read configuration options from configFilename (if it exists).
|
|
|
AppenderPtr | findAppenderByName (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *elem, apr_xml_doc *doc, const LogString &appenderName, AppenderMap &appenders) |
| Used internally to parse appenders by IDREF name.
|
|
AppenderPtr | findAppenderByReference (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *appenderRef, apr_xml_doc *doc, AppenderMap &appenders) |
| Used internally to parse appenders by IDREF element.
|
|
AppenderPtr | parseAppender (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *appenderElement, apr_xml_doc *doc, AppenderMap &appenders) |
| Used internally to parse an appender element.
|
|
void | parseErrorHandler (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *element, AppenderPtr &appender, apr_xml_doc *doc, AppenderMap &appenders) |
| Used internally to parse an ErrorHandler element.
|
|
void | parseFilters (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *element, std::vector< log4cxx::spi::FilterPtr > &filters) |
| Used internally to parse a filter element.
|
|
void | parseLogger (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *loggerElement, apr_xml_doc *doc, AppenderMap &appenders) |
| Used internally to parse a logger element.
|
|
void | parseLoggerFactory (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *factoryElement) |
| Used internally to parse the logger factory element.
|
|
log4cxx::helpers::ObjectPtr | parseTriggeringPolicy (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *factoryElement) |
| Used internally to parse the logger factory element.
|
|
log4cxx::rolling::RollingPolicyPtr | parseRollingPolicy (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *factoryElement) |
| Used internally to parse the logger factory element.
|
|
void | parseRoot (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *rootElement, apr_xml_doc *doc, AppenderMap &appenders) |
| Used internally to parse the root logger element.
|
|
void | parseChildrenOfLoggerElement (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *catElement, LoggerPtr logger, bool isRoot, apr_xml_doc *doc, AppenderMap &appenders) |
| Used internally to parse the children of a logger element.
|
|
LayoutPtr | parseLayout (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *layout_element) |
| Used internally to parse a layout element.
|
|
void | parseLevel (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *element, LoggerPtr logger, bool isRoot) |
| Used internally to parse a level element.
|
|
void | setParameter (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *elem, log4cxx::config::PropertySetter &propSetter) |
|
void | parse (log4cxx::helpers::Pool &p, log4cxx::helpers::CharsetDecoderPtr &utf8Decoder, apr_xml_elem *element, apr_xml_doc *doc, AppenderMap &appenders) |
| Used internally to configure the log4cxx framework from an in-memory representation of an XML document.
|
|
LogString | subst (const LogString &value) |
|
| Configurator () |
|
Use this class to initialize the log4cxx environment using a DOM tree.
Sometimes it is useful to see how log4cxx is reading configuration files. You can enable log4cxx internal logging by setting the debug
attribute in the log4cxx
element. As in
<log4j:configuration debug="true" xmlns:log4j="http://jakarta.apache.org/log4j/">
...
</log4j:configuration>
There are sample XML files included in the package.