Hi,
On 3 October 2013 09:10, Shavantha Weerasinghe <[email protected]> wrote: > hi lasantha > > will their be any changes in the way the logs are generated for CEP > > No, there won't be any changes to the logs generated at all. Even if changes to the console logging pattern is done, no change will happen to carbon logging format in anyway. Thanks, Lasantha regards, > Shavantha Weerasinghe > Senior Software Engineer QA > WSO2, Inc. > lean.enterprise.middleware. > http://wso2.com > http://wso2.org > Tel : 94 11 214 5345 > Fax :94 11 2145300 > > > > On Tue, Oct 1, 2013 at 11:44 AM, Lasantha Fernando <[email protected]> > wrote: > > Hi, > > > > > > On 1 October 2013 09:14, Afkham Azeez <[email protected]> wrote: > >> > >> > >> > >> > >> On Tue, Oct 1, 2013 at 9:04 AM, Mohanadarshan Vivekanandalingam > >> <[email protected]> wrote: > >>> > >>> Hi Azeez, > >>> > >>> On Tue, Oct 1, 2013 at 8:31 AM, Afkham Azeez <[email protected]> wrote: > >>>> > >>>> IMO, all WSO2 log files should be consistent. Otherwise it becomes > >>>> difficult for customers to write scripts etc. to check for certain > patterns > >>>> and so on. We have to agree on a common style & follow it throughout > the > >>>> platform. > > > > +1 for having a consistent pattern for console logs across all products. > >>> > >>> > >>> Yes, I am totally agree with you that carbon logs needs to be same.. In > >>> CEP also carbon logs are same and consistent with other products, as > Suho > >>> mentioned in console only we are showing the class name not the fully > >>> qualified class name to improve the readability.. > >>> > >> > >> IMO, nothing different has to be done for the console. Nobody uses > console > >> logs in a production or test systems, so making it look different > doesn't > >> add any value. Even during testing most people use wso2server.sh -start > >> > > > > > > Well, I think the original motivation came from looking at ESB console > logs > > which look very nice/aligned and is more human readable because it does > not > > print the class name at all. The fully qualified name can be found from > the > > carbon logs. Would it make sense to keep the verbosity minimal for > console > > logs (maybe like in ESB logs) and have fully verbose logs in carbon log? > > > > Thanks, > > Lasantha > > > >>> Regards, > >>> Mohan > >>> > >>>> > >>>> > >>>> > >>>> On Tue, Oct 1, 2013 at 7:13 AM, Nirmal Fernando <[email protected]> > wrote: > >>>>> > >>>>> [Adding Azeez] > >>>>> > >>>>> Sent via my mobile > >>>>> -- Nirmal -- > >>>>> > >>>>> > >>>>> On Sep 30, 2013 11:45 PM, "Mohanadarshan Vivekanandalingam" > >>>>> <[email protected]> wrote: > >>>>> > > >>>>> > Hi Nirmal, > >>>>> > > >>>>> > Yes, it only contains the class name with inside curly braces not > the > >>>>> > full class path name .. because if we put the complete name it is > very > >>>>> > difficult to grep the information from the console but carbon log > contains > >>>>> > the full class path name.. (If it is needed then we can refer > that). And > >>>>> > FYI, not all the products contains the same logging pattern.. > >>>>> > > >>>>> > ESB only contains class name as prefix like below: > >>>>> > > >>>>> > [2013-09-30 23:27:00,794] INFO - EmbeddedRegistryService > Configured > >>>>> > Registry in 46ms > >>>>> > [2013-09-30 23:27:00,873] INFO - RegistryCoreServiceComponent > >>>>> > Registry Mode : READ-WRITE > >>>>> > [2013-09-30 23:27:02,231] INFO - ClusterBuilder Clustering has > been > >>>>> > disabled > >>>>> > [2013-09-30 23:27:02,898] INFO - LandingPageWebappDeployer > Deployed > >>>>> > product landing page webapp: > >>>>> > > StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] > >>>>> > [2013-09-30 23:27:02,939] INFO - PassThroughHttpSSLSender > >>>>> > Initializing Pass-through HTTP/S Sender... > >>>>> > [2013-09-30 23:27:02,941] INFO - PassThroughHttpSSLSender Loading > >>>>> > Identity Keystore from : > repository/resources/security/wso2carbon.jks > >>>>> > [2013-09-30 23:27:02,979] INFO - PassThroughHttpSSLSender Loading > >>>>> > Trust Keystore from : > repository/resources/security/client-truststore.jks > >>>>> > > >>>>> > > >>>>> > But other products have a complete class path prefix (eg: AS): > >>>>> > > >>>>> > [2013-09-30 23:27:28,099] INFO > >>>>> > {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting > WSO2 > >>>>> > Carbon... > >>>>> > [2013-09-30 23:27:28,114] INFO > >>>>> > {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating > System : > >>>>> > Linux 3.9.0-030900-generic, amd64 > >>>>> > [2013-09-30 23:27:28,114] INFO > >>>>> > {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home > : > >>>>> > /usr/local/jdk1.6.0_38/jre > >>>>> > [2013-09-30 23:27:28,114] INFO > >>>>> > {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java > Version : > >>>>> > 1.6.0_38 > >>>>> > [2013-09-30 23:27:28,114] INFO > >>>>> > {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM > : > >>>>> > Java HotSpot(TM) 64-Bit Server VM 20.13-b02,Sun Microsystems Inc. > >>>>> > > >>>>> > > >>>>> > But CEP has the logging as shown below. > >>>>> > > >>>>> > [2013-09-30 23:04:44,768] INFO - {CarbonCoreActivator} Starting > >>>>> > WSO2 Carbon... > >>>>> > [2013-09-30 23:04:44,770] INFO - {CarbonCoreActivator} Operating > >>>>> > System : Linux 3.9.0-030900-generic, amd64 > >>>>> > [2013-09-30 23:04:44,770] INFO - {CarbonCoreActivator} Java Home > >>>>> > : /usr/local/jdk1.6.0_38/jre > >>>>> > [2013-09-30 23:04:44,771] INFO - {CarbonCoreActivator} Java > Version > >>>>> > : 1.6.0_38 > >>>>> > [2013-09-30 23:04:44,771] INFO - {CarbonCoreActivator} Java VM > >>>>> > : Java HotSpot(TM) 64-Bit Server VM 20.13-b02,Sun Microsystems Inc. > >>>>> > > >>>>> > Is there any issue on this?? I don't see any wrong on this.. > >>>>> > >>>>> Mohan, my only concern is, it's bit hard to find the full qualified > >>>>> class name. > >>>>> > >>>>> > > >>>>> > Regards, > >>>>> > Mohan > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > On Mon, Sep 30, 2013 at 10:10 AM, Nirmal Fernando <[email protected] > > > >>>>> > wrote: > >>>>> >> > >>>>> >> Hi All, > >>>>> >> > >>>>> >> In CEP logs look like: > >>>>> >> > >>>>> >> INFO - {EventBuilderDeployer} Event Builder deployed successfully > >>>>> >> and in active state ... > >>>>> >> > >>>>> >> Seems log4j.appender.CARBON_CONSOLE is different. > >>>>> >> > >>>>> >> -- > >>>>> >> > >>>>> >> Thanks & regards, > >>>>> >> Nirmal > >>>>> >> > >>>>> >> Senior Software Engineer- Platform Technologies Team, WSO2 Inc. > >>>>> >> Mobile: +94715779733 > >>>>> >> Blog: http://nirmalfdo.blogspot.com/ > >>>>> >> > >>>>> > > >>>>> > > >>>>> > > >>>>> > -- > >>>>> > V. Mohanadarshan > >>>>> > Software Engineer, > >>>>> > Data Technologies Team, > >>>>> > WSO2, Inc. http://wso2.com > >>>>> > lean.enterprise.middleware. > >>>>> > > >>>>> > email: [email protected] > >>>>> > phone:(+94) 771117673 > >>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> Afkham Azeez > >>>> Director of Architecture; WSO2, Inc.; http://wso2.com > >>>> Member; Apache Software Foundation; http://www.apache.org/ > >>>> > >>>> email: [email protected] cell: +94 77 3320919 > >>>> blog: http://blog.afkham.org > >>>> twitter: http://twitter.com/afkham_azeez > >>>> linked-in: http://lk.linkedin.com/in/afkhamazeez > >>>> > >>>> Lean . Enterprise . Middleware > >>> > >>> > >>> > >>> > >>> -- > >>> V. Mohanadarshan > >>> Software Engineer, > >>> Data Technologies Team, > >>> WSO2, Inc. http://wso2.com > >>> lean.enterprise.middleware. > >>> > >>> email: [email protected] > >>> phone:(+94) 771117673 > >> > >> > >> > >> > >> -- > >> Afkham Azeez > >> Director of Architecture; WSO2, Inc.; http://wso2.com > >> Member; Apache Software Foundation; http://www.apache.org/ > >> > >> email: [email protected] cell: +94 77 3320919 > >> blog: http://blog.afkham.org > >> twitter: http://twitter.com/afkham_azeez > >> linked-in: http://lk.linkedin.com/in/afkhamazeez > >> > >> Lean . Enterprise . Middleware > > > > > > > > > > -- > > Lasantha Fernando > > Software Engineer - Data Technologies Team > > WSO2 Inc. http://wso2.com > > > > email: [email protected] > > mobile: (+94) 71 5247551 > > > > _______________________________________________ > > Dev mailing list > > [email protected] > > http://wso2.org/cgi-bin/mailman/listinfo/dev > > > -- *Lasantha Fernando* Software Engineer - Data Technologies Team WSO2 Inc. http://wso2.com email: [email protected] mobile: (+94) 71 5247551
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
