<?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 tutorial</title>
	<atom:link href="http://joysofprogramming.com/tag/log4cpp-tutorial/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=442071543' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=316&c=442071543' 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=2030385712' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=316&c=2030385712' 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: 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=1038893781' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=310&c=1038893781' 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=1524137418' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=310&c=1524137418' 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::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=599306456' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=307&c=599306456' 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=10253296' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=307&c=10253296' 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>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=1840045596' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=301&c=1840045596' 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=106267658' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=301&c=106267658' 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=662464115' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=300&c=662464115' 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=416564713' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=300&c=416564713' 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=1567453765' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=299&c=1567453765' 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=1287231221' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=299&c=1287231221' 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=1215784126' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=292&c=1215784126' 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=207180675' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=292&c=207180675' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/steps-log4cpp-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Log4cpp::StringQueueAppender &#8211; Manipulating the log4cpp logs</title>
		<link>http://joysofprogramming.com/log4cpp-stringqueueappender/</link>
		<comments>http://joysofprogramming.com/log4cpp-stringqueueappender/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 14:07:35 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Data logger]]></category>
		<category><![CDATA[FIFO]]></category>
		<category><![CDATA[log analytics]]></category>
		<category><![CDATA[Log Queue]]></category>
		<category><![CDATA[log statistics]]></category>
		<category><![CDATA[log4cpp examples]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>
		<category><![CDATA[log4cpp::Appender]]></category>
		<category><![CDATA[log4cpp:StringQueueAppender]]></category>
		<category><![CDATA[StringQueueAppender]]></category>
		<category><![CDATA[StringQueueAppender example]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=289</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=289&c=1556112371' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=289&c=1556112371' border='0' alt='' /></a></p><br />log4cpp logs can be directed to files, standard output, back up files or even to the System Log. But before moving to discussing about log4cpp::StringQueueAppender, I would like to present certain scenarios or use cases of StringQueueAppender. You do not want to actually print the log files, but simply want to count certain occurrences of [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=289&c=1466475912' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=289&c=1466475912' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/log4cpp-stringqueueappender/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OstreamAppender: Direct the log4cpp logs to standard Output</title>
		<link>http://joysofprogramming.com/log4cpp-ostreamappender/</link>
		<comments>http://joysofprogramming.com/log4cpp-ostreamappender/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 13:50:13 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Command Prompt]]></category>
		<category><![CDATA[Data logger]]></category>
		<category><![CDATA[Log Analysis]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp examples]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>
		<category><![CDATA[log4cpp::Appender]]></category>
		<category><![CDATA[log4cpp::FileAppender]]></category>
		<category><![CDATA[log4cpp::OstreamAppender]]></category>
		<category><![CDATA[Standard streams]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=279</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=279&c=413133440' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=279&c=413133440' border='0' alt='' /></a></p><br />log4cpp enables you to easily log important events. The logs can be directed to files or even periodically rolled back and back up. There are multiple destinations for the log files and you can decide which one to choose from. Though in most cases, you want to use log files, you can also make use [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=279&c=67265414' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=279&c=67265414' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/log4cpp-ostreamappender/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>log4cpp::RollingFileAppender &#8211; How to Backup and Roll Over log files?</title>
		<link>http://joysofprogramming.com/log4cpp-rollingfileappender/</link>
		<comments>http://joysofprogramming.com/log4cpp-rollingfileappender/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 18:16:43 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Data logger]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[Log Analysis]]></category>
		<category><![CDATA[log4cpp]]></category>
		<category><![CDATA[log4cpp examples]]></category>
		<category><![CDATA[log4cpp programming]]></category>
		<category><![CDATA[log4cpp tutorial]]></category>
		<category><![CDATA[log4cpp::Appender]]></category>
		<category><![CDATA[log4cpp::FileAppender]]></category>
		<category><![CDATA[log4cpp:RollingFileAppender]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=231</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=231&c=1509769180' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=231&c=1509769180' border='0' alt='' /></a></p><br />It is very important to log the events in your software both for analytics and debugging.  Log4cpp is helpful for logging in with C++. Log4Cpp::File Appender can be used to direct the output of logs to a file. But there are certain challenges that you may face while using log files The files can soon [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=231&c=194303458' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=231&c=194303458' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/log4cpp-rollingfileappender/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  joysofprogramming.com/tag/log4cpp-tutorial/feed/ ) in 1.52441 seconds, on Feb 8th, 2012 at 3:11 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 4:11 am UTC -->
