473,473 Members | 2,138 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Which one is the best log4cpp, log4cplus or log4cxx ?

3 New Member
Hi,

This is a question pertaining to C++, so it seems to me to be on-topic here. If not, I apologize, and would ask which of these forums would be the correct one to used instead.

I haven’t been able to find a good answer to this and hope someone here who has experience can help me. I have researched the web and sites like this, and have not yet found anything to be of any real use.

I want to use a C++ version of log4j, but there are more than one of them. For example, the Apache log4j website (http://logging.apache.org/log4j/docs/download.html) includes a list of a number of “ports” of log4j: log4cxx, log4c, log4cpp, etc. There is no clear direction provided as to the best one to use, however.

My guess at this point, based on the research I have done, is that log4cxx may be the one to use, for the following reasons:
1. Appears not to be an inactive project.
2. Seems to be the only one compatible with log4j

If anyone can help me with this I would very much appreciate it.

Thank you.
Aug 23 '07 #1
4 12910
sicarie
4,677 Recognized Expert Moderator Specialist
I would say use whichever you are most comfortable with (of course, the 'existing' qualification will help too...), but there are things out there that are built to parse through logs, so I would recommend using whichever seems easiest/best to implement to you.
Aug 24 '07 #2
Quidny
3 New Member
Thanks for the response.

Of the candidates, it looks like only log4cxx is compatible with log4j. Is this true?
Sep 6 '07 #3
Quidny
3 New Member
No response? Ok, how about this question...

In the wikipedia entry for log4j (http://en.wikipedia.org/wiki/Log4j), some C/C++ candidates are listed. They have "outdated" by them, except for log4cxx.

Also, when the wikipedia history is examined, it turns out that at one point even log4cxx was labeled as outdated, and someone changed it but wasn't sure.

So the question is, of the candidates, which is the least outdated?
Sep 14 '07 #4
sicarie
4,677 Recognized Expert Moderator Specialist
No response? Ok, how about this question...

In the wikipedia entry for log4j (http://en.wikipedia.org/wiki/Log4j), some C/C++ candidates are listed. They have "outdated" by them, except for log4cxx.

Also, when the wikipedia history is examined, it turns out that at one point even log4cxx was labeled as outdated, and someone changed it but wasn't sure.

So the question is, of the candidates, which is the least outdated?
Well, it seems to me you have your answer there in log4cxx. As shown by the responses to your other posts, I'm not sure there is too much experience in here with any of those programs, so please post back about your experience in implementing your choice!
Sep 16 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Matthieu Labour | last post by:
Hi, I want to use a c++ version of log4j. But there are 3 of them :log4cpp, log4cplus, log4cx. Whis one is the best ? Thank you
1
by: Dan | last post by:
Hi, I have recently started using log4cxx and have hit a small snag. I am using the DailyRollingFileAppender and noticed that the rollovers are occuring 5 hours before they are supposed to...
6
by: msosno01 | last post by:
log4cxx is an excellent library for logging with a huge amount features: http://logging.apache.org/log4cxx/manual/Introduction.html My friend persuaded me to install it. However, I have a problem...
2
by: vasantha2712 | last post by:
I am trying to integrate Log4cpp in our project. I was able to successfully build the log4cpp using the command : ./configure --disable-static . I have included the log4cpp libraries path in...
2
by: Atiz | last post by:
Hi all, I have just downloaded log4CPP and am intending to use it for logging and debugging purposes in my c++ project. I'm currently using MS Visual Studio 2005. What I gathered from...
2
by: asterixgallier | last post by:
Hello i'm having problems with log4cxx when using inside an MFC application build with visual studio 2005. The Application starts and works normaly, but while exiting, inside the DEBUG window of...
2
Colloid Snake
by: Colloid Snake | last post by:
Hello, I was attempting to configure log4cpp to monitor some logs on my *nix box, and when I run 'make' I get this error message: # make g++ -DHAVE_CONFIG_H -I. -I. -I../include...
3
by: Bruintje Beer | last post by:
Hello, I have a question about log4cxx. How do I make a new appender class John
1
by: dinhn | last post by:
11-02-07 18:12:08,500 WARN <TGMS> - Talkgroup created The above line is part of our log4cplus warning. What is 500 stand for? Is a thread ID? Thanks
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.