Click here to Skip to main content
15,895,192 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to use log4cxx to log entries in log file or elsewhere for my application.I am very new to log4cxx.Can any one tell me how i will add all these in VS2005 in my application.
I tried in google but i did not see any step by step instruction to do this.
What all i know is
1)one XML file to be included in project.
2)log4cxx header files.
or may be some or one dll files.

I got one log4cxx.dll file but how to use it i dont know.;-(
or any other way i will have to follow???

in some examples on net..there is

#include<log4cxx/logger.h>

but this will work as headerfiles are absent..

whr i put that XML configuration file?


can any one give a small example of logging....i mean from installation to loggig



Thanks in Advance
Rakesh
Posted
Updated 3-Jul-11 22:31pm
v2

Google!
In cases like this, try a quick google : I did.[^]
The top hit was this: Short introduction to Apache log4cxx[^]

If in doubt, do a little research yourself - it can be a lot quicker than asking a question.
 
Share this answer
 
Many Thanks for replying

#include<log4cxx/logger.h>

but this will not work as headerfiles are absent..

and whr i put that XML configuration file?

Rakesh
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900