You could also look at slf4j for your bridging software.

http://www.slf4j.org/legacy.html

with log4j-over-slf4.jar convering old log4j version 1 api calls into
slf4j calls.  From there you can log to whatever you like.   Same with
old JCL calls.


On Mon, May 11, 2015 at 10:24 AM, Aristedes Maniatis <a...@maniatis.org> wrote:
> On 11/05/2015 11:51pm, Andrew Willerding wrote:
>> For my new project with the log4j2 libraries, I have created a 
>> log4j.properties file with the appropriate settings but the cayenne logging 
>> is still in INFO mode.  And I'm not sure where to place the log4j.properties 
>> file so it can be found by Cayenne.
>
> log4j version 2 uses an xml configuration file, not a properties file. Also, 
> because Cayenne is hooked into the old log4j version 1 library, you'll need 
> the compatibility library for log4jv2 that let's it accept the old API.
>
> Ari
>
>
> --
> -------------------------->
> Aristedes Maniatis
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Reply via email to