On Thu, May 22, 2014 at 5:06 PM, Sewwandi Perera <[email protected]> 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 "zookeeper.log". > So these separate log files are used only when those profiles started? > > We came up to a requirement where, we need to append all Cassandra logs > also to "wso2carbon.log" only when, the MB is started in Cassandra profile. > Refer [1] > I'm sorry, I did not get this requirement. You want to have cassandra related logs on a separate log file. I believe this is to make the cassandra log analyzing easy. So what is the purpose of again using carbon log file for that? > As I see, this can be get done only by maintaining two log4j properties > files with different configurations to be used in different profiles. > > Is it recommended to have two log4j properties files in one MB pack? Else > do you have any other solution for this? > > [1] https://wso2.org/jira/browse/MB-671 > > Thanks > -- > Sewwandi Perera > Software Engineer > > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>* Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
