<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/log4c/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/log4c/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 04 Aug 2015 05:59:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/log4c/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>#4 Log4c giving segmentation fault when changing the priority.</title><link>https://sourceforge.net/p/log4c/support-requests/4/?limit=25#1c25</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;the solution provided above does work!&lt;br/&gt;
thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">terry yuan</dc:creator><pubDate>Tue, 04 Aug 2015 05:59:18 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net538666a6f3553874f7f0e0c598352455f274cf55</guid></item><item><title>#9 Specific String crashes logger. Reproducible</title><link>https://sourceforge.net/p/log4c/support-requests/9/?limit=25#ccb2</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">František Dvořák</dc:creator><pubDate>Fri, 05 Dec 2014 07:14:37 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netde59fe05fdd4698ea083c7cbab7363436b9dc380</guid></item><item><title>#9 Specific String crashes logger. Reproducible</title><link>https://sourceforge.net/p/log4c/support-requests/9/?limit=25#8ca8</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;that worked a lot better.&lt;br /&gt;
Thanks&lt;br /&gt;
/Z&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zbeck</dc:creator><pubDate>Fri, 05 Dec 2014 07:08:00 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9711c81848ec1d560a2209a6e5029864f99711c3</guid></item><item><title>#8 possible deadlock in log4c</title><link>https://sourceforge.net/p/log4c/support-requests/8/?limit=25#69fe</link><description>&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;Has anyone noticed anything similar?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;We use log4c in multithread environment and haven't noticed this problem yet. I'll try to reproduce it, or pass it through hellgrind.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I notice this is no longer supported. Is there a recommended logger for c? I can try log4c++ I guess.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I adopt log4c after some time of its inactivity. I can't do much user support or development, but I'm interested in critical bugs and/or patches. :-)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">František Dvořák</dc:creator><pubDate>Fri, 05 Dec 2014 06:58:25 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neta1982abc820603f28127e17f921da1164ca5c2bf</guid></item><item><title>#9 Specific String crashes logger. Reproducible</title><link>https://sourceforge.net/p/log4c/support-requests/9/?limit=25#2e8b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;You should use:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;log4c_category_log(logger, LOG4C_PRIORITY_INFO, "%s", "any string with % here...");&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The "%s" format string is needed also when logging string variable (as it can contains % characters too).&lt;/p&gt;
&lt;p&gt;Also I recommend to switch on the warnings (-Wformat -Wformat-security, or -Wall -Wformat-security). gcc should catch this problem already during compilation.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">František Dvořák</dc:creator><pubDate>Fri, 05 Dec 2014 06:22:24 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netdf1f3f3da474df58197961d44638c82b6adc14f6</guid></item><item><title>Specific String crashes logger. Reproducible</title><link>https://sourceforge.net/p/log4c/support-requests/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;A specific String crashes logger. Reproducible every time and easy to test&lt;/p&gt;
&lt;p&gt;Try to log this string below. &lt;/p&gt;
&lt;p&gt;Example&lt;br /&gt;
log4c_category_log(logger, LOG4C_PRIORITY_INFO,&lt;br /&gt;
"BAS011ACAA01501170C10039True30$BookingTime \n $FirstName $LastName Id=$RPINTest&lt;strong&gt;&lt;em&gt; Enter ID &lt;/em&gt;&lt;/strong&gt;%m/%d/%Y%I:%M %pFalse0True-4806013943484001414911600FalseFalseFalse0");&lt;/p&gt;
&lt;p&gt;Note that this crashes. The problem seems to stem from '%m/%d/%Y%I:%M %p' part of the text. I am happy to help to contribute but I need some pointers on where to look and how to get this tested.&lt;/p&gt;
&lt;p&gt;Please assist, this is a critical bug. I simply had to remove some of the loggers.&lt;br /&gt;
/Z&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zbeck</dc:creator><pubDate>Fri, 05 Dec 2014 05:26:29 -0000</pubDate><guid isPermaLink="false">https://sourceforge.nete4aa8b1d339e78f50c53d514d4d984beb7d2f171</guid></item><item><title>Specific String crashes logger. Reproducible</title><link>https://sourceforge.net/p/log4c/support-requests/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 9 has been modified: Specific String crashes logger. Reproducible&lt;br /&gt;
Edited By: František Dvořák (valtri)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zbeck</dc:creator><pubDate>Fri, 05 Dec 2014 05:26:29 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net60d92458dcce2e8592aa4c76a9b0ddffe4d0cb4a</guid></item><item><title>possible deadlock in log4c</title><link>https://sourceforge.net/p/log4c/support-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I noticed in some case that some of our threads were just hanging. After adding hundreds of printf statements, I came to the conclusion that log4c was the probable cause.&lt;/p&gt;
&lt;p&gt;I changed my utility log method to do a printf instead of use log4c and viola, all the hanging stopped.&lt;/p&gt;
&lt;p&gt;There is some critical bug in this framework that causes a hang/deadlock when utilized with a highly multi-threaded app with high transaction usage.&lt;/p&gt;
&lt;p&gt;Has anyone noticed anything similar? I notice this is no longer supported. Is there a recommended logger for c? I can try log4c++ I guess.&lt;/p&gt;
&lt;p&gt;My test case was simple. start an app, open 15 threads. each thread does a log statement, printf("thread number") and sleep(1) and runs forever. monitor the console for any thread that is not outputting the printf and you know that you are hung. now increase to 30 threads and retest.&lt;/p&gt;
&lt;p&gt;when it runs for 10 hours without problems, you know the issue is solved.&lt;br /&gt;
/Z&lt;/p&gt;
&lt;p&gt;/Z&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zbeck</dc:creator><pubDate>Fri, 14 Nov 2014 18:55:29 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net220295f4da055433d4e4b9245d969fa376665669</guid></item><item><title>rollongpolicy triggering event</title><link>https://sourceforge.net/p/log4c/support-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've a doubt about log4c_rollingpolicy_is_triggering_event() i did not understand the log4c_logging_event_t * evtp parameter. How could i get the evtp parameter.&lt;br /&gt;
Is this function supposed to be used only for internal purpose? &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joe333</dc:creator><pubDate>Fri, 18 Oct 2013 05:35:49 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb56a7b996ab80757f145ef284829a0e3f4381816</guid></item><item><title>logging to server.</title><link>https://sourceforge.net/p/log4c/support-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am new to log4c. Could someone explain how can i use log4c to send my logs to &lt;br /&gt;
a server?&lt;br /&gt;
Thanks on advance.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">san1079</dc:creator><pubDate>Wed, 17 Apr 2013 07:58:49 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netcdb800210ef511b50e6f4824cfee94939661054a</guid></item></channel></rss>