| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.9 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_CX,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Date: | Wed, 5 May 2010 16:40:06 +0200 (CEST) |
| From: | jeanherve DOT queau AT free DOT fr |
| To: | cygwin AT cygwin DOT com |
| Message-ID: | <28309578.1951701273070406466.JavaMail.root@spooler4-g27.priv.proxad.net> |
| Subject: | Using Log4cxx (libapr, libapr-util) full functionality |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi,
I=E2=80=99m working on windows XP with Cygwin, I have download libapr1-deve=
l-1.3.8-1 and libaprutil1-devel-1.3.9-1 for use and compile the logger log4=
cxx from apache.
Basic functions (basic logger, appender and configuration) works pretty wel=
l, but when I decide to use the method log4cxx::PropertyConfigurator::confi=
gureAndWatch("logger.conf",timeout) instead of the simple configure( ), I g=
ive 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 th=
e configureAndWatch method is not present in log4cxx.a
I don=E2=80=99t understand why the apr library isn=E2=80=99t compile with A=
PR_HAS_THREADS set to 1?
Is there a solution to recompile the apr lib for using more functionality o=
f log4cxx like configureAndWatch and appender ( socketAppender ).
Regards,
Jean-Herv=C3=A9 Qu=C3=A9au
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |