log4cpp::PropertyConfigurator man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

log4cpp::PropertyConfigurator(3)    log4cpp   log4cpp::PropertyConfigurator(3)

NAME
       log4cpp::PropertyConfigurator -

       Property configurator will read a config file using the same (or
       similar) format to the config file used by log4j.

SYNOPSIS
       #include <PropertyConfigurator.hh>

   Static Public Member Functions
       static void configure (const std::string &initFileName)	throw
	   (ConfigureFailure)

Detailed Description
       Property configurator will read a config file using the same (or
       similar) format to the config file used by log4j.

       This file is in a standard Java 'properties' file format.

       Example:

	      # a simple test config

	      log4j.rootCategory=DEBUG, rootAppender
	      log4j.category.sub1=A1
	      log4j.category.sub2=INFO
	      log4j.category.sub1.sub2=ERROR, A2

	      log4j.appender.rootAppender=org.apache.log4j.ConsoleAppender
	      log4j.appender.rootAppender.layout=org.apache.log4j.BasicLayout

	      log4j.appender.A1=org.apache.log4j.FileAppender
	      log4j.appender.A1.fileName=A1.log
	      log4j.appender.A1.layout=org.apache.log4j.BasicLayout

	      log4j.appender.A2=org.apache.log4j.ConsoleAppender
	      log4j.appender.A2.layout=org.apache.log4j.PatternLayout
	      log4j.appender.A2.layout.ConversionPattern=The message %m at time %d%n

       Since:
	   0.3.2

Member Function Documentation
   void log4cpp::PropertyConfigurator::configure (const std::string &
       initFileName)  throw (ConfigureFailure) [static]
Author
       Generated automatically by Doxygen for log4cpp from the source code.

Version 1.0			  23 Nov 2010 log4cpp::PropertyConfigurator(3)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net