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.
4 12916 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.
Thanks for the response.
Of the candidates, it looks like only log4cxx is compatible with log4j. Is this true?
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?
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!
Sign in to post your reply or Sign up for a free account.
Similar topics |
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
|
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...
|
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...
|
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...
|
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...
| |
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...
|
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...
|
by: Bruintje Beer |
last post by:
Hello,
I have a question about log4cxx. How do I make a new appender class
John
|
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
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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,...
|
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...
|
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...
|
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: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| | |