Yes. The logger has to be created first. i.e. The relevant class should be loaded (as the logger is created in the class level). So, you need to send a request first.
Then only it will be shown in the UI. The UI uses logging APIs to show all logger names. On Wed, Nov 18, 2015 at 4:53 PM, Ushani Balasooriya <[email protected]> wrote: > Hi Yasasri, > > I think you are right because I once saw these logs being loaded in an > already used pack and in all the other fresh packs, it wasn't loading. > > On Wed, Nov 18, 2015 at 4:47 PM, Yasassri Ratnayake <[email protected]> > wrote: > >> Hi, >> >> As I observed, after starting a fresh ESB pack you need to invoke some >> services (API, Proxy etc.), so these classes will be loaded. >> >> With Regards, >> >> On Wed, Nov 18, 2015 at 4:26 PM, Ushani Balasooriya <[email protected]> >> wrote: >> >>> Hi Chanaka, >>> >>> Sure I will create. >>> >>> Thanks, >>> Ushani >>> >>> On Wed, Nov 18, 2015 at 4:17 PM, Chanaka Fernando <[email protected]> >>> wrote: >>> >>>> Hi Ushani, >>>> >>>> I didn't try with a fresh pack, but the only thing we need to check >>>> here is the log4j.properties file and it has this class commented >>>> out.Anyway, If you are experiencing this issue, please create a JIRA >>>> ticket. >>>> >>>> On Wed, Nov 18, 2015 at 3:40 PM, Ushani Balasooriya <[email protected]> >>>> wrote: >>>> >>>>> Hi Chanaka, >>>>> >>>>> It doesn't show any exception. My Java version is jdk1.7.0_71. Did you >>>>> try this in a fresh pack? >>>>> >>>>> On Wed, Nov 18, 2015 at 3:29 PM, Chanaka Fernando <[email protected]> >>>>> wrote: >>>>> >>>>>> Hmm. Actually I did a test on an ESB 4.9.0 pack which has this wire >>>>>> class commented out in the log4j.properties file and it showed me the >>>>>> item >>>>>> in UI. Are you getting any exceptions in the carbon log? What is the java >>>>>> version you are using? >>>>>> >>>>>> On Wed, Nov 18, 2015 at 3:08 PM, Ushani Balasooriya <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi Chanaka, >>>>>>> >>>>>>> How long should I stay? I can see all the other loggers are listed, >>>>>>> but not wire. I clicked on other tabs and came back but still I >>>>>>> encounter >>>>>>> the same issue. :( >>>>>>> >>>>>>> On Wed, Nov 18, 2015 at 3:01 PM, Harsha Thirimanna <[email protected] >>>>>>> > wrote: >>>>>>> >>>>>>>> Hi Chanaka, >>>>>>>> No it is not working like that, we can check that in default pack. >>>>>>>> Only it is available after enable it. I also noticed this earlier >>>>>>>> in wso2esb-4.8.1. >>>>>>>> Please correct me if i am still in wrong track :). >>>>>>>> >>>>>>>> >>>>>>>> *Harsha Thirimanna* >>>>>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com >>>>>>>> * <http://www.apache.org/>* >>>>>>>> *email: **[email protected]* <[email protected]>* cell: +94 71 >>>>>>>> 5186770 * >>>>>>>> *twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>* >>>>>>>> *harshathirimannlinked-in: **http: >>>>>>>> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 >>>>>>>> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>* >>>>>>>> >>>>>>>> *Lean . Enterprise . Middleware* >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Nov 18, 2015 at 2:50 PM, Chanaka Fernando < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Hi Ushani, >>>>>>>>> >>>>>>>>> By default it will list down in the management console. Sometimes >>>>>>>>> it will take some time to index the items. That is why you are not >>>>>>>>> seeing >>>>>>>>> that item on the list. You don't need to enable it in the >>>>>>>>> log4j.properties >>>>>>>>> file to show up in the UI. If you click on another tab and come back, >>>>>>>>> it >>>>>>>>> will finish the indexing and show the wire log class in the UI. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Wed, Nov 18, 2015 at 2:23 PM, Harsha Thirimanna < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> You can't enable it without restarting, because by default it is >>>>>>>>>> commented out and UI is not loaded any commented logs. >>>>>>>>>> >>>>>>>>>> Yes +1 to add it by default and keep it OFF mode. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> *Harsha Thirimanna* >>>>>>>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com >>>>>>>>>> * <http://www.apache.org/>* >>>>>>>>>> *email: **[email protected]* <[email protected]>* cell: +94 71 >>>>>>>>>> 5186770 * >>>>>>>>>> *twitter: **http://twitter.com/ >>>>>>>>>> <http://twitter.com/afkham_azeez>* >>>>>>>>>> *harshathirimannlinked-in: **http: >>>>>>>>>> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 >>>>>>>>>> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>* >>>>>>>>>> >>>>>>>>>> *Lean . Enterprise . Middleware* >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Wed, Nov 18, 2015 at 1:54 PM, Ushani Balasooriya < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Hi ESB Team, >>>>>>>>>>> >>>>>>>>>>> In ESB 4.7.0, 4.8.0, 4.8.1, 4.9.0 I tried to enable wire logs >>>>>>>>>>> through UI. But I was unable to do since it was not listing down in >>>>>>>>>>> logging >>>>>>>>>>> configuration section. >>>>>>>>>>> But when I enable it in the log4j.properties file and restart >>>>>>>>>>> the server it will list down them in logging configuration section. >>>>>>>>>>> >>>>>>>>>>> Shouldnt it be listed down in logging configuration section by >>>>>>>>>>> default? Is this the behavior or a bug? >>>>>>>>>>> >>>>>>>>>>> Can you please advice me how to enable wire logs without >>>>>>>>>>> restarting the server? >>>>>>>>>>> >>>>>>>>>>> Thanks, >>>>>>>>>>> -- >>>>>>>>>>> *Ushani Balasooriya* >>>>>>>>>>> Senior Software Engineer - QA; >>>>>>>>>>> WSO2 Inc; http://www.wso2.com/. >>>>>>>>>>> Mobile; +94772636796 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Dev mailing list >>>>>>>>>>> [email protected] >>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Thank you and Best Regards, >>>>>>>>> Chanaka Fernando >>>>>>>>> Senior Technical Lead >>>>>>>>> WSO2, Inc.; http://wso2.com >>>>>>>>> lean.enterprise.middleware >>>>>>>>> >>>>>>>>> mobile: +94 773337238 >>>>>>>>> Blog : http://soatutorials.blogspot.com >>>>>>>>> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 >>>>>>>>> Twitter:https://twitter.com/chanakaudaya >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *Ushani Balasooriya* >>>>>>> Senior Software Engineer - QA; >>>>>>> WSO2 Inc; http://www.wso2.com/. >>>>>>> Mobile; +94772636796 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Thank you and Best Regards, >>>>>> Chanaka Fernando >>>>>> Senior Technical Lead >>>>>> WSO2, Inc.; http://wso2.com >>>>>> lean.enterprise.middleware >>>>>> >>>>>> mobile: +94 773337238 >>>>>> Blog : http://soatutorials.blogspot.com >>>>>> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 >>>>>> Twitter:https://twitter.com/chanakaudaya >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Ushani Balasooriya* >>>>> Senior Software Engineer - QA; >>>>> WSO2 Inc; http://www.wso2.com/. >>>>> Mobile; +94772636796 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Thank you and Best Regards, >>>> Chanaka Fernando >>>> Senior Technical Lead >>>> WSO2, Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> mobile: +94 773337238 >>>> Blog : http://soatutorials.blogspot.com >>>> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 >>>> Twitter:https://twitter.com/chanakaudaya >>>> >>>> >>>> >>>> >>>> >>> >>> >>> -- >>> *Ushani Balasooriya* >>> Senior Software Engineer - QA; >>> WSO2 Inc; http://www.wso2.com/. >>> Mobile; +94772636796 >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Yasassri Ratnayake >> Software Engineer - QA >> WSO2 Inc ; http://wso2.com >> lean.enterprise.middleware >> *Mobile : +94715933168 <%2B94715933168>* >> *Blogs : http://yasassriratnayake.blogspot.com >> <http://yasassriratnayake.blogspot.com/>* >> * http://wso2logs.blogspot.com <http://wso2logs.blogspot.com>* >> > > > > -- > *Ushani Balasooriya* > Senior Software Engineer - QA; > WSO2 Inc; http://www.wso2.com/. > Mobile; +94772636796 > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
