<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Discussion</title><link>https://sourceforge.net/p/log4cpp/discussion/</link><description>Recent posts to Discussion</description><atom:link href="https://sourceforge.net/p/log4cpp/discussion/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 28 Oct 2025 22:35:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/log4cpp/discussion/feed.rss" rel="self" type="application/rss+xml"/><item><title>Flaw in .deb Packaging</title><link>https://sourceforge.net/p/log4cpp/discussion/48226/thread/c9d78d70fa/?limit=50#3f69</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello &lt;a class="user-mention" href="/u/andrewofc/profile/"&gt;@andrewofc&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Having the change suggested above in place causes the following error on at least system with uname&lt;br/&gt;
Linux 6.14.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC&lt;br/&gt;
after running &lt;br/&gt;
~/log4cpp-codegit$ cmake --build build&lt;br/&gt;
CMake Error at CMakeLists.txt:89 (INSTALL):&lt;br/&gt;
  INSTALL DIRECTORY given no DESTINATION!&lt;/p&gt;
&lt;p&gt;The following amendment will fix the error:&lt;br/&gt;
&lt;a href="https://sourceforge.net/p/log4cpp/codegit/ci/8db27fdc27a3b992b53ff433e91f205990ac87de/"&gt;https://sourceforge.net/p/log4cpp/codegit/ci/8db27fdc27a3b992b53ff433e91f205990ac87de/&lt;/a&gt;&lt;br/&gt;
Could you ensure that this fix will also work for your case please?&lt;br/&gt;
If not, then how it can be further changed to satisfy your case too?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Perepelkin</dc:creator><pubDate>Tue, 28 Oct 2025 22:35:05 -0000</pubDate><guid>https://sourceforge.net7fcd75c59cc4c52ebf677f46dcbf9f38cbd933c6</guid></item><item><title>Flaw in .deb Packaging</title><link>https://sourceforge.net/p/log4cpp/discussion/48226/thread/c9d78d70fa/?limit=25#ab7c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The patch is released with log4cpp-1.1.5rc1 at &lt;a href="https://sourceforge.net/projects/log4cpp/files/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1.5rc1.tar.gz/download"&gt;https://sourceforge.net/projects/log4cpp/files/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1.5rc1.tar.gz/download&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Perepelkin</dc:creator><pubDate>Fri, 23 Aug 2024 20:45:55 -0000</pubDate><guid>https://sourceforge.net37ae8dc368881d0a5f08836de9d6735178fe6839</guid></item><item><title>Flaw in .deb Packaging</title><link>https://sourceforge.net/p/log4cpp/discussion/48226/thread/c9d78d70fa/?limit=25#d7b2/94d7</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="_1"&gt;&lt;/h2&gt;
&lt;h2 id="both-runs-configured-for-an-arm64-toolchain"&gt;both runs configured for an arm64 toolchain&lt;/h2&gt;
&lt;h2 id="_2"&gt;&lt;/h2&gt;
&lt;p&gt;root@a8b4e71c175e:/home/andrew/packages/log4cpp/build# make install&lt;br/&gt;
Consolidate compiler generated dependencies of target log4cpp&lt;br/&gt;
&lt;span&gt;[100%]&lt;/span&gt; Built target log4cpp&lt;br/&gt;
Install the project...&lt;br/&gt;
-- Install configuration: ""&lt;br/&gt;
-- Installing: /usr/local/include/log4cpp&lt;br/&gt;
-- Installing: /usr/local/include/log4cpp/StringQueueAppender.hh&lt;br/&gt;
...&lt;br/&gt;
-- Installing: /usr/local/include/log4cpp/BasicConfigurator.hh&lt;br/&gt;
-- Installing: /usr/local/lib/liblog4cpp.a&lt;br/&gt;
root@a8b4e71c175e:/home/andrew/packages/log4cpp/build# &lt;/p&gt;
&lt;h2 id="_3"&gt;&lt;/h2&gt;
&lt;h2 id="after-patching"&gt;after patching:&lt;/h2&gt;
&lt;h2 id="_4"&gt;&lt;/h2&gt;
&lt;p&gt;root@16e345bafce3:/home/andrew/packages/log4cpp/build# make install&lt;br/&gt;
Consolidate compiler generated dependencies of target log4cpp&lt;br/&gt;
&lt;span&gt;[100%]&lt;/span&gt; Built target log4cpp&lt;br/&gt;
Install the project...&lt;br/&gt;
-- Install configuration: ""&lt;br/&gt;
-- Installing: /usr/local/include/aarch64-linux-gnu/log4cpp&lt;br/&gt;
-- Installing: /usr/local/include/aarch64-linux-gnu/log4cpp/StringQueueAppender.hh&lt;br/&gt;
...&lt;br/&gt;
-- Installing: /usr/local/include/aarch64-linux-gnu/log4cpp/BasicConfigurator.hh&lt;br/&gt;
-- Installing: /usr/local/lib/aarch64-linux-gnu/liblog4cpp.a&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew E Page</dc:creator><pubDate>Thu, 08 Aug 2024 18:10:26 -0000</pubDate><guid>https://sourceforge.net25850c1815786abf2458eb4b694ac7ab3ae52cf4</guid></item><item><title>Flaw in .deb Packaging</title><link>https://sourceforge.net/p/log4cpp/discussion/48226/thread/c9d78d70fa/?limit=25#d7b2</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Andrew E Page,&lt;/p&gt;
&lt;p&gt;Thank you for this contribution.&lt;/p&gt;
&lt;p&gt;Could you elaborate a bit more please?&lt;br/&gt;
Could you show what were the installation paths prior the fix (and after them, to compare them easily, and clearly see the clash)? For both x86/Arm64 compilations.&lt;/p&gt;
&lt;p&gt;--&lt;br/&gt;
Alexander&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Perepelkin</dc:creator><pubDate>Wed, 07 Aug 2024 09:40:45 -0000</pubDate><guid>https://sourceforge.net7f7d05dfe931c9b65ee121a59f6f2b5a6336a283</guid></item><item><title>segfault at log4cpp::threading::ThreadLocalDataHolder&lt;log4cpp::NDC&gt;::freeHolder</title><link>https://sourceforge.net/p/log4cpp/discussion/48226/thread/23f89ec8f4/?limit=25#e9ae</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you mind sharing the minimal project which I can run locally to reproduce the trouble?&lt;/p&gt;
&lt;p&gt;Thanks for the reminder.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Perepelkin</dc:creator><pubDate>Thu, 24 Dec 2020 19:46:13 -0000</pubDate><guid>https://sourceforge.net33f03b8716b575afec7fb699957bf059f3071705</guid></item><item><title>segfault at log4cpp::threading::ThreadLocalDataHolder&lt;log4cpp::NDC&gt;::freeHolder</title><link>https://sourceforge.net/p/log4cpp/discussion/48226/thread/23f89ec8f4/?limit=25#8426</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;up&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gang Li</dc:creator><pubDate>Mon, 21 Dec 2020 20:40:11 -0000</pubDate><guid>https://sourceforge.netc236afa06cb83e7cd7a6de9aa461c267533b11e6</guid></item><item><title>Feature request / idea - forced log write like  .text(std::string Message)</title><link>https://sourceforge.net/p/log4cpp/discussion/48226/thread/c5c054d4e1/?limit=25#07ca</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Jes,&lt;/p&gt;
&lt;p&gt;Could you please elaborate more on this " . text"?&lt;br/&gt;
What is its essential difference from usual lines logged with the code like &lt;br/&gt;
logger.info("Initialized ok"); ?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Alexander&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Perepelkin</dc:creator><pubDate>Wed, 02 Dec 2020 17:34:35 -0000</pubDate><guid>https://sourceforge.net79dda0ce1ac6202fada383a8ae8b85f7d7421d8a</guid></item><item><title>Feature request / idea - forced log write like  .text(std::string Message)</title><link>https://sourceforge.net/p/log4cpp/discussion/48226/thread/c5c054d4e1/?limit=25#711a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;br/&gt;
I lack a feature to have a "forced" write of a log entry, basically a side-level thing that is called .text (or whatever)&lt;br/&gt;
I is for those messages that are not debug,info,warn,fatal etc. but rather plain informative of the application progress like .text("application has shut down gracefully"); or .text("initialization completed successfully");&lt;/p&gt;
&lt;p&gt;I lack this feature so that when logging an application with ERROR level then i can get this visual signature of forced texts that with a glimpse let me determine if things has behaving normally for days up to crashes start to occur.&lt;/p&gt;
&lt;p&gt;I can have a go at it if people find it worthy of acceptance....&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jes</dc:creator><pubDate>Wed, 02 Dec 2020 07:47:38 -0000</pubDate><guid>https://sourceforge.netc3824d8f889ae8d81729f048c43099a7c731adac</guid></item><item><title>Regarding log  flooding issue in https://sourceforge.net/projects/log4cpp/</title><link>https://sourceforge.net/p/log4cpp/discussion/48227/thread/a78ed39a84/?limit=25#6b39</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I can suggest you the following solution if you wish the throttling be the part of logging subsystem:&lt;br/&gt;
create custom appender (or logger) class which will keep the logged data in memory and compare it with the data logged next. If test shows they are equal, then discard this message instead of writing it.&lt;/p&gt;
&lt;p&gt;However, the same functionality might be implemented separately from the logging subsystem as well. In this case log4cpp would consume only single message which came out of throttler.&lt;/p&gt;
&lt;p&gt;Alex.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Perepelkin</dc:creator><pubDate>Mon, 04 May 2020 11:23:37 -0000</pubDate><guid>https://sourceforge.net0de155de40cc6ad6f874317422f1fefca6a2cb32</guid></item><item><title>Regarding log  flooding issue in https://sourceforge.net/projects/log4cpp/</title><link>https://sourceforge.net/p/log4cpp/discussion/48227/thread/a78ed39a84/?limit=25#05e8</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;HelloHelloHello&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Do we have any feature in log4cpp project about log flooding occurance for perticular log?Hello&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The loggers do not track the content which comes into appenders. Therefore they have no ability to throttle the message which comes too frequently.&lt;/p&gt;
&lt;p&gt;I could suggest to build your own appenders which performs the throttling.&lt;/p&gt;
&lt;p&gt;Alex.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Perepelkin</dc:creator><pubDate>Fri, 24 Apr 2020 11:02:25 -0000</pubDate><guid>https://sourceforge.net4627a118d8efda54ab14d8db5123974aac4f6847</guid></item></channel></rss>