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.


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/
* <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

Reply via email to