<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joys of Programming &#187; log4cpp programming</title>
	<atom:link href="http://joysofprogramming.com/tag/log4cpp-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://joysofprogramming.com</link>
	<description>Programming made simpler, easier and Joyful experience</description>
	<lastBuildDate>Mon, 30 Jan 2012 14:11:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to direct logs to multiple log files (destinations) &#8211; log4cpp</title>
		<link>http://joysofprogramming.com/multiple-log-files-destinations/</link>
		<comments>http://joysofprogramming.com/multiple-log-files-destinations/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 14:23:54 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[addAppender]]></category>
		<category><![CDATA[Data logger]]></category>
		<category><![CDATA[Log Analysis]]></category>
		<category><![CDATA[log files]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp category]]></category>
		<category><![CDATA[log4cpp examples]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>
		<category><![CDATA[log4cpp::Category]]></category>
		<category><![CDATA[multiple log files]]></category>
		<category><![CDATA[setAdditivity]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=316</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=316&c=364220245' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=316&c=364220245' border='0' alt='' /></a></p><br />log4cpp can not only be used to log the events to a log file or standard output, but also helps you to log events to multiple destinations. For this purpose, either you can add multiple appenders to a single category or make use of multiple Categories. We will explore the first options. With this option, [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=316&c=1657118136' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=316&c=1657118136' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/multiple-log-files-destinations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>log4cpp ConfigureFailure</title>
		<link>http://joysofprogramming.com/log4cpp-configurefailure/</link>
		<comments>http://joysofprogramming.com/log4cpp-configurefailure/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 07:05:56 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[ConfigureFailure]]></category>
		<category><![CDATA[exceptions]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp exceptions]]></category>
		<category><![CDATA[log4cpp programming]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/log4cpp-configurefailure/</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=311&c=880702819' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=311&c=880702819' border='0' alt='' /></a></p><br />log4cpp programs can be configured using configuration files. But while using log4cpp configurations, you may come across various errors. These can be tracked using log4cpp::ConfigureFailure. See the following program how the missing file error is caught. Suppose that /home/user/conf doesn&#8217;t exist. You will get the following excetion<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=311&c=1526103900' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=311&c=1526103900' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/log4cpp-configurefailure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>log4cpp: Logging Events and Priorities</title>
		<link>http://joysofprogramming.com/log4cpp-events-priorities/</link>
		<comments>http://joysofprogramming.com/log4cpp-events-priorities/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 06:50:42 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp examples]]></category>
		<category><![CDATA[log4cpp priority]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>
		<category><![CDATA[log4cpp::LoggingEvent]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[logging events]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=310</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=310&c=197242988' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=310&c=197242988' border='0' alt='' /></a></p><br />The most important aspect of a log message is its priority. Take a simple scenario, when you are debugging your program, you want to display all the logs in your program. At that moment, you are not concerned about the resource crunch and performance impact. But when your program is running, you do not want [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=310&c=1762816001' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=310&c=1762816001' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/log4cpp-events-priorities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>log4cpp Category</title>
		<link>http://joysofprogramming.com/log4cpp-category/</link>
		<comments>http://joysofprogramming.com/log4cpp-category/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 06:44:50 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp category]]></category>
		<category><![CDATA[log4cpp examples]]></category>
		<category><![CDATA[log4cpp layout]]></category>
		<category><![CDATA[log4cpp priority]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp::Appender]]></category>
		<category><![CDATA[logging events]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=308</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=308&c=1593235552' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=308&c=1593235552' border='0' alt='' /></a></p><br />Every log message has a priority. But depending on the scenario we decide whether we need to log a message or not. Like every message has a priority, similarly every scenario has a priority. We have the following priorities arranged in the descending order. EMERG, FATAL ALERT CRIT ERROR WARN NOTICE INFO DEBUG NOTSET (no [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=308&c=1987614123' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=308&c=1987614123' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/log4cpp-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>log4cpp::PropertyConfigurator &#8211; Configure with configuration files</title>
		<link>http://joysofprogramming.com/log4cpp-propertyconfigurator-configuration-files/</link>
		<comments>http://joysofprogramming.com/log4cpp-propertyconfigurator-configuration-files/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 06:42:21 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Configuration file]]></category>
		<category><![CDATA[Log Analysis]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp configuration]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>
		<category><![CDATA[log4cpp::PropertyConfigurator]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=307</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=307&c=1370366403' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=307&c=1370366403' border='0' alt='' /></a></p><br />log4cpp can also be configured with the configuration files. log4cpp::PropertyConfigurator can be used for this purpose. It has a single function which takes as input the configuration file. Simply specify the configuration in a file. You must specify the layout, priority and the appender in the configuration file as shown here You can read here [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=307&c=1251031004' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=307&c=1251031004' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/log4cpp-propertyconfigurator-configuration-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create your own Log format with log4cpp::PatternLayout</title>
		<link>http://joysofprogramming.com/create-log-format-pattern-layout/</link>
		<comments>http://joysofprogramming.com/create-log-format-pattern-layout/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 06:36:35 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[create log format]]></category>
		<category><![CDATA[log format]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp exaamples]]></category>
		<category><![CDATA[log4cpp PatternLayout]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[Pattern Layout]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=305</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=305&c=1854939945' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=305&c=1854939945' border='0' alt='' /></a></p><br />log4cpp::PatternLayout supports four different patterns of log format. But it also supports user specified format. For this purpose, it gives certain format chracters. Some of them are %d: Date %m: log message %n: line separator %p: priority For more such characters refer PatternLayout. The additional benefit of using a format of your own is that [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=305&c=1582486916' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=305&c=1582486916' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/create-log-format-pattern-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install log4cpp from sources?</title>
		<link>http://joysofprogramming.com/install-log4cpp-from-sources/</link>
		<comments>http://joysofprogramming.com/install-log4cpp-from-sources/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 06:03:15 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[install from sources]]></category>
		<category><![CDATA[install log4cpp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=301</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=301&c=368432826' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=301&c=368432826' border='0' alt='' /></a></p><br />log4cpp is used for logging purposes in C++. To install log4cpp in Linux is as simple as installing some simple packages like liblog4cpp5 and liblog4cpp5-dev. But if you want to install log4cpp from sources, you need to follow the following procedures. Using these steps, you can easily install log4cpp in Mac and Linux (or any [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=301&c=1359055440' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=301&c=1359055440' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/install-log4cpp-from-sources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Compile and link log4cpp programs?</title>
		<link>http://joysofprogramming.com/compile-and-link-log4cpp-code/</link>
		<comments>http://joysofprogramming.com/compile-and-link-log4cpp-code/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 05:57:33 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[compile log4cpp]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>
		<category><![CDATA[log4cpp-config]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=300</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=300&c=375049275' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=300&c=375049275' border='0' alt='' /></a></p><br />log4cpp, used for logging in C++ can be installed from packages or from the source code. But while programming with log4cpp, you must be aware of certain aspects like the location of the log4cpp headers and log4cpp library. The simplest way to find out the location of the headers The next important thing is to [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=300&c=2034256794' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=300&c=2034256794' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/compile-and-link-log4cpp-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>log4cpp::BasicLayout &#8211; Log Format with Additional Information</title>
		<link>http://joysofprogramming.com/log4cpp-basiclayout/</link>
		<comments>http://joysofprogramming.com/log4cpp-basiclayout/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 14:14:49 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[compile log4cpp]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>
		<category><![CDATA[log4cpp::SimpleLayout]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=299</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=299&c=77461722' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=299&c=77461722' border='0' alt='' /></a></p><br />The Log4cpp SimpleLayout is the simplest log layout with the format &#8220;priority message&#8221;. But for regular usage, you need more information especially information like the timestamp. log4cpp::BasicLayout has the following Layout timeStamp priority category ndc: message where timestamp corresponds to the timestamp when the message was generated, priority corresponds to the type of the logging  [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=299&c=704477258' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=299&c=704477258' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/log4cpp-basiclayout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three Important Steps for Log4cpp Programming</title>
		<link>http://joysofprogramming.com/steps-log4cpp-programming/</link>
		<comments>http://joysofprogramming.com/steps-log4cpp-programming/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 14:18:48 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Data logger]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp appender]]></category>
		<category><![CDATA[log4cpp category]]></category>
		<category><![CDATA[log4cpp layout]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=292</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=292&c=899709495' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=292&c=899709495' border='0' alt='' /></a></p><br />When you start working with log4cpp, you need to take care of the following steps Initializing an Appender Deciding on the Layout Finalize on the Category Let&#8217;s see what each of these mean. Appender: Appender in log4cpp corresponds to the destination of logs. A suitable appender is initialized based on your requirements. The destination of [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=292&c=425818551' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=292&c=425818551' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/steps-log4cpp-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  joysofprogramming.com/tag/log4cpp-programming/feed/ ) in 2.14819 seconds, on Feb 8th, 2012 at 6:35 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 7:35 am UTC -->
