I had similar trace logs in my code as well. Let me double check again. I assume you have not done any additional steps.
On Thu, Jul 5, 2012 at 11:36 AM, Amani Soysa <[email protected]> wrote: > Hi Tharidu, > > Earlier I have not tested it properly. I put some trace logs in my > component and tested .. > if(log.isTraceEnabled()) { > log.trace("Just to see if tracing works"); > } > And enabled the Logger to Trace in that particular class and it worked for > me.. Is this the same way you've done it? > > Regards, > Amani > > > On Thu, Jul 5, 2012 at 11:20 AM, Amani Soysa <[email protected]> wrote: > >> I tried this to org.apache.axis2 package to Trace and it looks like only >> debug level logs are getting printed >> >> On Thu, Jul 5, 2012 at 11:16 AM, Amani Soysa <[email protected]> wrote: >> >>> Yeah I will test it and let you know >>> >>> >>> On Thu, Jul 5, 2012 at 11:12 AM, Tharindu Mathew <[email protected]>wrote: >>> >>>> No, I went to Logging. >>>> >>>> Searched for my package 'databridge' and changed the log level to >>>> TRACE. This should work. >>>> >>>> Azeez, if this does not work, then it's an issue. Following these steps >>>> should just work. >>>> >>>> >>>> On Thu, Jul 5, 2012 at 11:04 AM, Amani Soysa <[email protected]> wrote: >>>> >>>>> To set trace level logs in global level, >>>>> Go to -> configure ->Global Log4J Configuration set the log level to >>>>> trace. >>>>> >>>>> If you want to enable TRACE_APPENDER send trace level logs to >>>>> trace.log file you need to add TRACE_APPENDER to root logger in >>>>> log4j.properties file. Or set it from the logging ui (Configure Log4J >>>>> Appenders) >>>>> >>>>> >>>>> On Thu, Jul 5, 2012 at 10:57 AM, Tharindu Mathew <[email protected]>wrote: >>>>> >>>>>> What are the steps you followed? >>>>>> >>>>>> >>>>>> On Thu, Jul 5, 2012 at 9:17 AM, Amani Soysa <[email protected]> wrote: >>>>>> >>>>>>> I tested this using ESB trunk build (22nd packs) and it works fine. >>>>>>> I will take the latest update and let you know. >>>>>>> >>>>>>> >>>>>>> On Thu, Jul 5, 2012 at 8:32 AM, Afkham Azeez <[email protected]> wrote: >>>>>>> >>>>>>>> The log level for the logge, and the thresholds of the relevant >>>>>>>> appenders need to be set to TRACE for this to work. >>>>>>>> >>>>>>>> On Wed, Jul 4, 2012 at 11:59 PM, Tharindu Mathew <[email protected] >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> Please note $subject. I updated through admin console as well as >>>>>>>>> the log4j properties and it doesn't work. >>>>>>>>> >>>>>>>>> Can someone have a look? >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> Tharindu >>>>>>>>> >>>>>>>>> blog: http://mackiemathew.com/ >>>>>>>>> M: +94777759908 >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Dev mailing list >>>>>>>>> [email protected] >>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> *Afkham Azeez* >>>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>>>>>> Member; Apache Software Foundation; http://www.apache.org/ >>>>>>>> * <http://www.apache.org/>** >>>>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >>>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>>>>>> twitter: >>>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>>>>>> * >>>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>>>>>>> * >>>>>>>> * >>>>>>>> *Lean . Enterprise . Middleware* >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Dev mailing list >>>>>>>> [email protected] >>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> >>>>>> Tharindu >>>>>> >>>>>> blog: http://mackiemathew.com/ >>>>>> M: +94777759908 >>>>>> >>>>>> >>>>> >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Tharindu >>>> >>>> blog: http://mackiemathew.com/ >>>> M: +94777759908 >>>> >>>> >>> >> > -- Regards, Tharindu blog: http://mackiemathew.com/ M: +94777759908
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
