Wiebesiek, Torsten | 25 Jan 15:21
Picon
Favicon
Gravatar

Is log4cxx still alive?

Hi folks,

I just tried to figure out, if log4cxx is still alive. The latest
repository commit seems to be about 19 months old, and the traffic on
the mailinglists (http://logging.apache.org/log4cxx/mail-lists.html)
seems to be very low.

Can anyone tell me the state of the log4cxx project? And, is there a
better place to get current information about log4cxx?

Thanks,

  Torsten

Joseph Southwell | 23 Jan 16:44
Gravatar

Fixes the TimeBasedRollingPolicy.cpp

I made a couple of changes to the TimeBasedRollingPolicy and I was wondering if I could get them added
upstream? I have never done this before so I have no idea how this process should work. Any guidance?

They allow it to handle rolling log files with multiple clients writing to the file. It is not perfect, there
is still at least one way it can break but it works most of the time without a hitch and that one way happened
every time before. first writer renames file, second renames file again overwrites first renamed file. I
fixed that by putting a check for File.exists() in FileRenameAction. Execute now returns false when the
target file already exists. obviously that exists, rename bit needs to be made atomic for this to be
perfect but this is a good start. 

I also added an append variable to TimeBasedRollingPolicy to save the state of append from the initialize
call so that when rollover returns the rollover description it can return the correct value for append
since with multiple writers writing to the file it is necessary not to loose the append setting. 

I also added a check for file modification time in initialize and set lastFileName based on that
modification time so that it could rollover files that are from yesterday. I wanted rollover to work even
if nothing is running when the rollover was supposed to happen. 

I would like to avoid maintaining a separate branch so how do I get this put in?
siva prasanth | 3 Jan 22:24
Picon
Favicon

(unknown)


Happy new year! If you are truly want to achieve long-term and effective result this way will suit you!. http://www.honestpcservice.com/sites.m.php?vihGIS=19f6

siva prasanth | 3 Jan 08:15
Picon
Favicon

(unknown)


http://noihoisaigon.vn/HappyNewYear.php?yriwjfj=95&xevupucu=687&ufefuwate=18

siva prasanth | 2 Jan 12:11
Picon
Favicon

Fw:


http://suavecitas.com/HappyNewYear.php?ucyline=95&ucjkokjci=374&suqezusih=37

siva prasanth | 2 Jan 05:46
Picon
Favicon

Fw:


http://revistalacentral.com.ar/HappyNewYear.php?xohymawykyq=18&sexoxjqigyr=662&pasolerim=11

siva prasanth | 1 Jan 21:32
Picon
Favicon

Fw:


http://remaxroatanmls.com/HappyNewYear.php?jwjpuvupj=35&ypjs=295&vewyrinegeq=82

siva prasanth | 1 Jan 11:19
Picon
Favicon

Fw:


http://enprueba.com/HappyNewYear.php?raqi=38&kefoxoc=581&amotonerjte=91

siva prasanth | 1 Jan 01:04
Picon
Favicon

Re:


Happy new year! Don’t doubt! Your life can be changed right now!... http://plaisanceadhesifs.fr/new.year.php?fhotmailID=06l1

siva prasanth | 31 Dec 23:18
Picon
Favicon

Fw:


http://bacim.com.tr/HappyNewYear.php?jnohicyhj=84&huljgumjfa=611&yqicjvoxi=47

siva prasanth | 31 Dec 20:04
Picon
Favicon

Fwd:


http://masterpropaganda.com.br/HappyNewYear.php?byzjzel=48&rjzj=972&ufjfenjbi=98


Gmane