Re: [Dev] Logging For WSO2 MB 3.0.0

2015-03-24 Thread Ramith Jayasinghe
+1. Good idea.

On Wed, Mar 25, 2015 at 2:27 AM, Hasitha Hiranya hasit...@wso2.com wrote:

 Hi Team,

 In WSO2 MB there are several areas we need debug logs.

 1. Inbound  - when a message comes in , saving metadata and content to
 message store.
 2. outbound - when a message is received and sent to subscribers
 3. slot - slot manager related logs, what are the slots received by node
 4. subscription - subscription created/disconnected/deleted/synced cache
 with DB/ sent cluster notification/got cluster notification
 5. queues/bindings/exchanges related logs

 What about grouping them in log4j.properties file? So that when a issue
 comes, we can enable logs on the relevant section ? We can instruct the
 customers easily as well.

 WDYT?

 Thanks

 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com




-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 777542851
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Logging For WSO2 MB 3.0.0

2015-03-24 Thread Hasitha Hiranya
Hi Team,

In WSO2 MB there are several areas we need debug logs.

1. Inbound  - when a message comes in , saving metadata and content to
message store.
2. outbound - when a message is received and sent to subscribers
3. slot - slot manager related logs, what are the slots received by node
4. subscription - subscription created/disconnected/deleted/synced cache
with DB/ sent cluster notification/got cluster notification
5. queues/bindings/exchanges related logs

What about grouping them in log4j.properties file? So that when a issue
comes, we can enable logs on the relevant section ? We can instruct the
customers easily as well.

WDYT?

Thanks

-- 
*Hasitha Abeykoon*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
*cell:* *+94 719363063*
*blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev