This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using Log4cxx (libapr, libapr-util) full functionality


Hi,

Iâm working on windows XP with Cygwin, I have download libapr1-devel-1.3.8-1 and libaprutil1-devel-1.3.9-1 for use and compile the logger log4cxx from apache.
Basic functions (basic logger, appender and configuration) works pretty well, but when I decide to use the method log4cxx::PropertyConfigurator::configureAndWatch("logger.conf",timeout) instead of the simple configure( ), I give a undefined reference at linkage.
This method starts a thread, which periodically watches the conf file to be able to dynamically take change of configuration.

My first analyze is: the file apr.h define APR_HAS_THREADS to 0 that why the configureAndWatch method is not present in log4cxx.a

I donât understand why the apr library isnât compile with APR_HAS_THREADS set to 1?

Is there a solution to recompile the apr lib for using more functionality of log4cxx like configureAndWatch and appender ( socketAppender ).

Regards,

Jean-Hervà QuÃau

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]