<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/log4c/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/log4c/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/log4c/feature-requests/</id><updated>2015-05-19T06:38:51.446000Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>#5 Let sd_stat_ctime work on Windows</title><link href="https://sourceforge.net/p/log4c/feature-requests/5/?limit=25#8e77" rel="alternate"/><published>2015-05-19T06:38:51.446000Z</published><updated>2015-05-19T06:38:51.446000Z</updated><author><name>Mark Smit</name><uri>https://sourceforge.net/u/mark-smit/</uri></author><id>https://sourceforge.netb56fd4ac85e724c969cf144eb9ddb6671de125cc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have not tried the MinGW compiled binary, so no information there.&lt;/p&gt;
&lt;p&gt;Currently I use VS2010 and VS2013 and they both compile 32 and 64 bit. I created new solutions based on the VC6 one, so that solution is for my project good enough.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#6 Add debugging option for log4c itself</title><link href="https://sourceforge.net/p/log4c/feature-requests/6/?limit=25#3e19" rel="alternate"/><published>2015-05-18T19:49:35.174000Z</published><updated>2015-05-18T19:49:35.174000Z</updated><author><name>František Dvořák</name><uri>https://sourceforge.net/u/valtri/</uri></author><id>https://sourceforge.net14625bd50dff0e165e4e73a1f779570669970825</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You could use a variable SD_DEBUG (=1). It is chatty and probably meant more for development debugging, but it will print also the read configuration file.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#5 Let sd_stat_ctime work on Windows</title><link href="https://sourceforge.net/p/log4c/feature-requests/5/?limit=25#271f" rel="alternate"/><published>2015-05-18T19:36:00.098000Z</published><updated>2015-05-18T19:36:00.098000Z</updated><author><name>František Dvořák</name><uri>https://sourceforge.net/u/valtri/</uri></author><id>https://sourceforge.net1551c77203d7db2e8153899f7da5123e71542beb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: František Dvořák&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#5 Let sd_stat_ctime work on Windows</title><link href="https://sourceforge.net/p/log4c/feature-requests/5/?limit=25#8f14" rel="alternate"/><published>2015-05-18T06:15:20.697000Z</published><updated>2015-05-18T06:15:20.697000Z</updated><author><name>František Dvořák</name><uri>https://sourceforge.net/u/valtri/</uri></author><id>https://sourceforge.net0e9a763f76dcd8e3a8789ac71dbe34d210ff52ab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The MinGW port is nice, because it is only yet another platform added to the existing build system based on autotools. But if the MSVC port has it's users and developers and still works, it is perfectly OK. :-)&lt;/p&gt;
&lt;p&gt;Did you try the MinGW-compiled binary with the MSVC? (I'm just interested, if there isn't any problem with such combination.)&lt;/p&gt;
&lt;p&gt;Which version of MSVC do you use? (if MSVC 6 will be still fine)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#5 Let sd_stat_ctime work on Windows</title><link href="https://sourceforge.net/p/log4c/feature-requests/5/?limit=25#74c3" rel="alternate"/><published>2015-05-18T05:08:09.693000Z</published><updated>2015-05-18T05:08:09.693000Z</updated><author><name>Mark Smit</name><uri>https://sourceforge.net/u/mark-smit/</uri></author><id>https://sourceforge.net89a88b28c65960d687cb3cf27b7fe9f40e325ce3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm using a MSVC compiler and it is not possible to use MinGW instead.&lt;br /&gt;
I agree, st_ctime is better in POSIX. But in Windows this field means 'create time' and thus is of no use in this situation.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#5 Let sd_stat_ctime work on Windows</title><link href="https://sourceforge.net/p/log4c/feature-requests/5/?limit=25#cd59" rel="alternate"/><published>2015-05-17T21:53:26.382000Z</published><updated>2015-05-17T21:53:26.382000Z</updated><author><name>František Dvořák</name><uri>https://sourceforge.net/u/valtri/</uri></author><id>https://sourceforge.net7fc60e5788de650fca6d9776bde63e3d3524cdb0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is the problem here when using compiler different from MinGW? (MSVC build wasn't updated after 2006)&lt;/p&gt;
&lt;p&gt;st_ctime may be slightly better as it will notice also owner/permissions changes, but maybe it is not needed for reread feature and can be changed to st_mtime for all platforms.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add debugging option for log4c itself</title><link href="https://sourceforge.net/p/log4c/feature-requests/6/" rel="alternate"/><published>2015-05-10T20:40:16.789000Z</published><updated>2015-05-10T20:40:16.789000Z</updated><author><name>Kalle Richter</name><uri>https://sourceforge.net/u/krichter722/</uri></author><id>https://sourceforge.net90f7b679b5de239d5b7913d8fb40858150a76204</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It'd be useful to have a debugging option which triggers verbose output about log4c initialization (which log4crc file is picked up and used, etc.). It should be specified as environment variable to keep it out of the code and configuration files.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Let sd_stat_ctime work on Windows</title><link href="https://sourceforge.net/p/log4c/feature-requests/5/" rel="alternate"/><published>2015-04-17T10:17:17.400000Z</published><updated>2015-04-17T10:17:17.400000Z</updated><author><name>Mark Smit</name><uri>https://sourceforge.net/u/mark-smit/</uri></author><id>https://sourceforge.net54aeb1a57c5ab4818a463c5ea854108ae23f598f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In file sd_xplatform.c the function sd_stat_ctime returns -1 on native Windows platforms. As experiment I took the code based on the POSIX implementation and modified it to use st_mtime instead of st_ctime. In my opinion this works nice, at least it works fine in my code.&lt;br /&gt;
Isn't it wise to add this? If not, why?&lt;br /&gt;
Complete code:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="nf"&gt;sd_stat_ctime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;const&lt;/span&gt; &lt;span class="kt"&gt;char&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;time_t&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;struct&lt;/span&gt; &lt;span class="n"&gt;stat&lt;/span&gt; &lt;span class="n"&gt;astat&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;statret&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;stat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;astat&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="n"&gt;statret&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;statret&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;astat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;st_mtime&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;statret&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>Let sd_stat_ctime work on Windows</title><link href="https://sourceforge.net/p/log4c/feature-requests/5/" rel="alternate"/><published>2015-04-17T10:17:17.400000Z</published><updated>2015-04-17T10:17:17.400000Z</updated><author><name>Mark Smit</name><uri>https://sourceforge.net/u/mark-smit/</uri></author><id>https://sourceforge.net41c67364e9561fcd6a5ff32d225a0f815b2ea0cb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 5 has been modified: Let sd_stat_ctime work on Windows&lt;br /&gt;
Edited By: František Dvořák (valtri)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'accepted'&lt;br /&gt;
Owner updated: None =&amp;gt; u'valtri'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Additional priority levels</title><link href="https://sourceforge.net/p/log4c/feature-requests/4/" rel="alternate"/><published>2014-04-02T15:21:48.283000Z</published><updated>2014-04-02T15:21:48.283000Z</updated><author><name>Alexander Varnin</name><uri>https://sourceforge.net/u/fenixk19/</uri></author><id>https://sourceforge.net63f8449896a0e1f6f6b2705c8901efa69d92caed</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please, add a possibility to add additional priority levels without log4c library recompilation.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>