Re: how to make the system generate the output log file suffix?

2008-06-06 Thread Dale King
On Fri, Jun 6, 2008 at 9:43 AM, Ning Zhao <[EMAIL PROTECTED]> wrote: > Hi all! > > in my log4cxx.properties file, I'd like to write the output log file name in > this way: > > log4j.appender.R.File=%h/myApp%g.log > > where %h means my home directory and %g means the generated file name > suffix.

Re: How to build library without explicitly linking to APR and APR-UTIL?

2008-06-06 Thread Curt Arnold
On Jun 6, 2008, at 3:43 PM, Omayre Zahid wrote: Is there a way to build log4cxx under linux, without explicitly linking to APR and APR-UTIL? In other words, when I type "ldd log4cxx.so", both of those libraries will not be shown. I have tried a few of the flags, but no luck. Thanks If

How to build library without explicitly linking to APR and APR-UTIL?

2008-06-06 Thread Omayre Zahid
Is there a way to build log4cxx under linux, without explicitly linking to APR and APR-UTIL? In other words, when I type "ldd log4cxx.so", both of those libraries will not be shown. I have tried a few of the flags, but no luck. Thanks

Re: Using the syslog appender in log4cxx

2008-06-06 Thread Curt Arnold
On Jun 6, 2008, at 10:51 AM, Dale King wrote: OK, I see now why it is only cosmetic. It only ends up being that way because the strings differ only in a character that is not a letter. That is a cumbersome way to do case insensitive comparison. It would be a lot easier to lose the third parame

Re: Segmentation fault log4cxx 0.10.0 on app exit ( RH Linux)

2008-06-06 Thread Curt Arnold
On Jun 6, 2008, at 10:07 AM, GregN wrote: As a work around until a resolution, you could try commenting out the apr_terminate() call in src/main/cpp/aprinitializer.cpp. It works with this change. Let me know if I can help you to fix the problem. THanks.. Without the fix, does "make check

Re: Using the syslog appender in log4cxx

2008-06-06 Thread Dale King
OK, I see now why it is only cosmetic. It only ends up being that way because the strings differ only in a character that is not a letter. That is a cumbersome way to do case insensitive comparison. It would be a lot easier to lose the third parameter and do: if (arg1.size() != arg2.size() ) retu

Re: Segmentation fault log4cxx 0.10.0 on app exit ( RH Linux)

2008-06-06 Thread GregN
>As a work around until a resolution, you could try commenting out the >apr_terminate() call in src/main/cpp/aprinitializer.cpp. It works with this change. Let me know if I can help you to fix the problem. THanks.. -- View this message in context: http://www.nabble.com/Segmentation-fault-log

32-bit log4cxx 0.10.0 lib on HP-UX

2008-06-06 Thread Mehta, Jenica
Hello All, I am trying to generate 32-bit log4cxx 0.10.0 library on 64-bit HP-UX machine. Machine: $uname -a HP-UX B.11.11 U 9000/785 (tb) $getconf KERNEL_BITS 64 When I do a default configuration and install log4cxx 0.10.0, it generates a 64-bit library: $file liblog4cxx.sl.1

how to make the system generate the output log file suffix?

2008-06-06 Thread Ning Zhao
Hi all! in my log4cxx.properties file, I'd like to write the output log file name in this way: log4j.appender.R.File=%h/myApp%g.log where %h means my home directory and %g means the generated file name suffix. For example, myApp0.log, myApp1.log, myApp2.log, ( Please see http://ja