[Dev] Is it recommended to have two log4j properties files in one MB pack?

2014-05-22 Thread Sewwandi Perera
Hi, Currently, WSO2 MB supports both Cassandra and Zookeeper profiles. The log4j.properties file is configured to write all Cassandra related logs to cassandra_system.log and all zookeeper related logs to zookeeper.log. We came up to a requirement where, we need to append all Cassandra logs also

Re: [Dev] Is it recommended to have two log4j properties files in one MB pack?

2014-05-22 Thread Kishanthan Thangarajah
On Thu, May 22, 2014 at 5:06 PM, Sewwandi Perera sewwa...@wso2.com wrote: Hi, Currently, WSO2 MB supports both Cassandra and Zookeeper profiles. The log4j.properties file is configured to write all Cassandra related logs to cassandra_system.log and all zookeeper related logs to

Re: [Dev] Is it recommended to have two log4j properties files in one MB pack?

2014-05-22 Thread Ishara Premadasa
Hi Kishanthan, On Thu, May 22, 2014 at 10:41 PM, Kishanthan Thangarajah kishant...@wso2.com wrote: On Thu, May 22, 2014 at 5:06 PM, Sewwandi Perera sewwa...@wso2.comwrote: Hi, Currently, WSO2 MB supports both Cassandra and Zookeeper profiles. The log4j.properties file is configured to

Re: [Dev] Is it recommended to have two log4j properties files in one MB pack?

2014-05-22 Thread Indika Sampath
Hi All, What unclear point here is how to use two log4j.properties files in same pack. Because even if you started any carbon related server with profiles means it's starting the same pack with same configuration files. Only difference is features which are activating at the runtime is different.