Hi Kaveh,
OK, just as a side note, I have not used much of the Mortbay logging. I
usually use Slf4j over Log4j.

On Fri, Jun 13, 2014 at 1:23 PM, <dev-digest-h...@gora.apache.org> wrote:

>
> help, org.mortbay.log.Log  messages not showing up in the slf4j logfile
>         6242 by: kaveh minooie
>
> I am trying to log some debug information in codes that are in gora-core.


Anything in particular? Counters perhanps? Can you provide an example?


> the source code is using org.mortbay.log.Log class,


You mean that your client code is using this class right?


> and by that I mean that is the only thing that is imported. the jetty docs
> says that it should pick slf4j from classpath without any other
> configuration, but when I use the Log object to log, I dont't see those
> messages in the log file. to be clear I can see all the messages that I am
> generating in gora-cassandra and other places but not the ones from
> gora-core. also in log4j.properties I do have this line:
>
> log4j.logger.org.apache.gora=DEBUG
>
> any help would be really appreciated,
>

Can you please check that this file [0] or another one like it is not being
found on the classpath first?

[0]
https://git-wip-us.apache.org/repos/asf?p=gora.git;a=blob_plain;f=conf/log4j.properties;hb=master

Reply via email to