Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

logging with slf4j and log4j

I would like to use slf4j and its log4j binding, but am not sure where to deploy everything. I have 2 PUs on Gigaspaces 7.0.1. Both PUs include a common jar file in their lib directories (it's this common code that is doing the logging). I have put slf4j and log4j jars into lib/optional/pu-common and have put log4j.properties into the PU's lib directory. But when I deploy and run my app, nothing gets logged. Am I putting everything in the right places?



{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3281]{quote}

asked 2009-10-21 18:24:47 -0500

dsmain gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Take a look here: /[/question/2128/setting-up-log4j-in-jetty-web-application/]

Might help you.


answered 2009-10-30 11:01:13 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2009-10-21 18:24:47 -0500

Seen: 596 times

Last updated: Oct 30 '09