On Tue, Oct 1, 2013 at 8:56 AM, Sriskandarajah Suhothayan <[email protected]>wrote:

> That was actually done for human readability since its just a console log
> where fully qualified names fills the screens.
> The carbon logs are still using the fully qualified names hence thats the
> one actually used for debugging purposes.
>

oh.. ok...

Then +1 for having the console log appender used in CEP across the products.

>
> Suho
>
>
>
>
> On Mon, Sep 30, 2013 at 8:12 PM, Nirmal Fernando <[email protected]> wrote:
>
>>
>>
>>
>> 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.
>>>
>>
>> Exactly.
>>
>> IMO we should have full qualified class names, it'll make logs easy to
>> interpret (For an example, we might have the same POJO name used in
>> different components, thus it's is very important to have the full
>> qualified class name IMO).
>>
>> Mohan, I don't get your point on grep, it's just a matter of grep'ing
>> more intelligently IMO. And sorry, since I'm using CEP these days, I've
>> noticed this in CEP.
>>
>> WDYT?
>>
>>>
>>>
>>> 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*
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>
>
> --
> *S. Suhothayan
> *
> Associate Technical Lead,
>  *WSO2 Inc. *http://wso2.com *
>  <http://wso2.com/>*
> lean . enterprise . middleware
>
> *cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
> twitter: http://twitter.com/suhothayan | linked-in:
> http://lk.linkedin.com/in/suhothayan*
> *
> *
>



-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to