Enabling Flume log4j appender logging in Karaf

2014-10-20 Thread syedbahm
Hi, I have been trying unsuccessfully to have a karaf distribution connect to elastic search via flume using the FlumeLog4jAppender. I followed the steps listed here http://blog.nanthrax.net/2012/12/create-custom-log4j-appender-for-karaf-and-pax-logging/ for adding a custom appender and

Re: Enabling Flume log4j appender logging in Karaf

2014-10-20 Thread syedbahm
Forgot to mention Please let me know what knobs can I turn on to further debug this thing. I tried remote debugging karaf with flume4jappender it looks like the appender class is not called out at all. How can I further debug whats happenning? -- View this message in context:

Re: Enabling Flume log4j appender logging in Karaf

2014-10-21 Thread syedbahm
on the host or fragment it should also tell you if the fragment is attached. If not try a refresh on the host bundle. Regards, Achim sent from mobile device Am 20.10.2014 23:20 schrieb syedbahm syedb...@cisco.com mailto:syedb...@cisco.com: Forgot to mention Please let me know what knobs

Re: Enabling Flume log4j appender logging in Karaf

2014-10-21 Thread syedbahm
the appender require something special? Any certain classes from log4j? You could try to debug into the appender and try to see if it is actually called. If not it's something in the configuration. Regards, Achim sent from mobile device Am 21.10.2014 08:29 schrieb syedbahm syedb...@cisco.com

pax-logback-service not working in karaf distribution

2014-10-22 Thread syedbahm
Hi, After attempting to have a flume log4j appender but couldn't make it work as discussed as part of this thread.. http://karaf.922171.n3.nabble.com/Enabling-Flume-log4j-appender-logging-in-Karaf-td4036033.html#a4036041 and not knowing how to further debug the same.. thought of trying the

Re: pax-logback-service not working in karaf distribution

2014-10-22 Thread syedbahm
service implementations I’d also recommend clearing out the bundle cache (under the data directory) after modifying the startup.properties, to avoid picking up any previously installed pax-logging-service bundle. -- Cheers, Stuart On Wednesday, 22 October 2014 at 18:50, syedbahm wrote: Hi

Re: pax-logback-service not working in karaf distribution

2014-11-12 Thread syedbahm
One more question I have a bunch of logger defines in logback.xml e.g. logger name=io.netty level=WARN/ I want them to appear when I do log:get ALL in karaf console. But the only thing I see in Karaf console is --- Logger | Level -- ROOT | DEBUG --- Where should I

Re: pax-logback-service not working in karaf distribution

2014-11-12 Thread syedbahm
fine for me. I used logback.xml file and added all my logback configurations in file. http://www.gharki.com/2014/07/how-to-configure-pax-logging-to-use.html Srikanth Hugar www.gharki.com http://www.gharki.com On Thu, Nov 13, 2014 at 7:20 AM, syedbahm syedb...@cisco.com mailto:syedb

Re: pax-logback-service not working in karaf distribution

2014-11-12 Thread syedbahm
, Nov 13, 2014 at 10:50 AM, syedbahm syedb...@cisco.com mailto:syedb...@cisco.com wrote: Hi Likely you just checked the title and replied. I have pax-logback-service working -- in my latest post -- I was asking about how the loggers we define in logback.xml appear in karaf

Re: pax-logback-service not working in karaf distribution

2014-11-12 Thread syedbahm
to work with pax-logging-logback and pax-logging-log4jv2. Could you please raise a JIRA ? 2014-11-13 8:16 GMT+01:00 syedbahm syedb...@cisco.com mailto:syedb...@cisco.com: Seems the following is happenning: Though I have specified the logback.xml usage in etc/org.ops4j.pax.logging.cfg

Re: pax-logback-service not working in karaf distribution

2014-11-13 Thread syedbahm
syedbahm syedb...@cisco.com mailto:syedb...@cisco.com: I have openned https://issues.apache.org/jira/browse/KARAF-3358 for the same.. Please update it as appropriate -- as Im not sure which component this should be put in -- I have assigned it to Karaf-core for now. The reason I

pax-logging-logback integration with karaf shell log: commands

2015-08-16 Thread Basheeruddin Ahmed (syedbahm)
The following issue seems to be still open. https://issues.apache.org/jira/browse/KARAF-3358 Any update on this one - when it is planned to fix. We find the integration of the log:display/log:set etc Karaf shell commands convenient want to work when using pax-logging-logback. Thx,