RE: log4cxx with JNI... Crashes when using appender and layout?

2009-09-25 Thread Zmuda, Matthew
Fixed. Was a problem with the built libraries I was using. I simply rebuilt the project and now work! Matt Zmuda Software Developer - Tools Group From: Zmuda, Matthew [mailto:matthew_zm...@tvworks.com] Sent: September 25, 2009 8:20 AM To: Log4CXX User Sub

RE: Are log4j and log4cxx configuration files identical?

2009-09-25 Thread Zmuda, Matthew
Thanks for this! Matt Zmuda Software Developer - Tools Group -Original Message- From: log4cxx [mailto:log4...@gallandfamily.com] Sent: September 25, 2009 8:16 AM To: Log4CXX User Subject: Re: Are log4j and log4cxx configuration files identical? >I am coding a JNI project and planning to

RE: log4cxx with JNI... Crashes when using appender and layout?

2009-09-25 Thread Zmuda, Matthew
I wanted to add to this issue. I noticed the error only occurs once the app finishes running, so probably when the DLL is unloading and there is some cleaning occurring. Should I be doing any cleanup from the below code? I didn't look into it much yet but it seems that all the XPtr classes

Re: Are log4j and log4cxx configuration files identical?

2009-09-25 Thread log4cxx
>I am coding a JNI project and planning to use log4j in java portion and >log4cxx in c++. >Can the same configurations files be used for both? The formats are the same, but because of the answer to your third question, you may need two different files unless you add appenders programmatically, o